diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8bb8d22..78f8cc7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -28,12 +28,12 @@ jobs: - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - name: Cache pip packages - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.cache/pip key: ${{ runner.os }}-pip-${{ hashFiles('**/pyproject.toml') }} @@ -76,7 +76,7 @@ jobs: fi - name: Run integration tests - if: github.event_name != 'workflow_dispatch' || inputs.run_integration_tests == 'true' + if: (github.event_name != 'workflow_dispatch' || inputs.run_integration_tests == 'true') && github.actor != 'app/dependabot' env: ESOLOGS_ID: ${{ secrets.ESOLOGS_ID }} ESOLOGS_SECRET: ${{ secrets.ESOLOGS_SECRET }} @@ -85,7 +85,7 @@ jobs: pytest tests/integration/ -v --tb=short - name: Run sanity tests - if: github.event_name != 'workflow_dispatch' || inputs.run_integration_tests == 'true' + if: (github.event_name != 'workflow_dispatch' || inputs.run_integration_tests == 'true') && github.actor != 'app/dependabot' env: ESOLOGS_ID: ${{ secrets.ESOLOGS_ID }} ESOLOGS_SECRET: ${{ secrets.ESOLOGS_SECRET }} @@ -95,7 +95,7 @@ jobs: - name: Upload coverage to Codecov if: matrix.python-version == '3.11' - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v5 with: file: ./coverage.xml flags: unittests @@ -107,7 +107,7 @@ jobs: - uses: actions/checkout@v4 - name: Set up Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: "3.11" @@ -140,7 +140,7 @@ jobs: - uses: actions/checkout@v4 - name: Set up Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: "3.11" @@ -171,7 +171,7 @@ jobs: - uses: actions/checkout@v4 - name: Set up Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: "3.11" diff --git a/.github/workflows/optimize-images.yml b/.github/workflows/optimize-images.yml index 92a6bf7..3ede509 100644 --- a/.github/workflows/optimize-images.yml +++ b/.github/workflows/optimize-images.yml @@ -13,7 +13,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install optimization tools run: | @@ -21,7 +21,7 @@ jobs: sudo apt-get install -y pngquant optipng jpegoptim webp - name: Set up Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: '3.10'