From 244a0f3bb935961cdc0c5cebacb3170508c519b7 Mon Sep 17 00:00:00 2001 From: Markus Heiser Date: Fri, 15 Sep 2023 12:42:21 +0200 Subject: [PATCH] [CI] upgrade actions/checkout@v4 & actions/upload-artifact@v3 Closes: https://github.com/searxng/searxng/issues/2777#issuecomment-1720958570 Signed-off-by: Markus Heiser --- .github/workflows/data-update.yml | 2 +- .github/workflows/integration.yml | 12 ++++++------ .github/workflows/security.yml | 2 +- .github/workflows/translations-update.yml | 2 +- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/data-update.yml b/.github/workflows/data-update.yml index 0ffb1498e..f68e578ed 100644 --- a/.github/workflows/data-update.yml +++ b/.github/workflows/data-update.yml @@ -22,7 +22,7 @@ jobs: - update_engine_descriptions.py steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Install Ubuntu packages run: | diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml index ae2107bb8..9793d0a2c 100644 --- a/.github/workflows/integration.yml +++ b/.github/workflows/integration.yml @@ -19,7 +19,7 @@ jobs: python-version: ["3.8", "3.9", "3.10", "3.11"] steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Install Ubuntu packages run: | sudo ./utils/searxng.sh install packages @@ -48,7 +48,7 @@ jobs: - name: Test coverage run: make V=1 test.coverage - name: Store coverage result - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: coverage-${{ matrix.python-version }} path: coverage/ @@ -59,7 +59,7 @@ jobs: runs-on: ubuntu-20.04 steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Install Ubuntu packages run: sudo ./utils/searxng.sh install buildhost - name: Set up Python @@ -88,7 +88,7 @@ jobs: contents: write # for JamesIves/github-pages-deploy-action to push changes in repo steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: fetch-depth: '0' persist-credentials: false @@ -134,7 +134,7 @@ jobs: contents: write # for make V=1 weblate.push.translations steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: fetch-depth: '0' token: ${{ secrets.WEBLATE_GITHUB_TOKEN }} @@ -179,7 +179,7 @@ jobs: steps: - name: Checkout if: env.DOCKERHUB_USERNAME != null - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: # make sure "make docker.push" can get the git history fetch-depth: '0' diff --git a/.github/workflows/security.yml b/.github/workflows/security.yml index d9503af11..e1a8e99e5 100644 --- a/.github/workflows/security.yml +++ b/.github/workflows/security.yml @@ -10,7 +10,7 @@ jobs: runs-on: ubuntu-20.04 steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Run Trivy vulnerability scanner uses: aquasecurity/trivy-action@master diff --git a/.github/workflows/translations-update.yml b/.github/workflows/translations-update.yml index 769a0b160..c0b2d473d 100644 --- a/.github/workflows/translations-update.yml +++ b/.github/workflows/translations-update.yml @@ -11,7 +11,7 @@ jobs: if: ${{ github.repository_owner == 'searxng' && github.ref == 'refs/heads/master' }} steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: fetch-depth: '0' token: ${{ secrets.WEBLATE_GITHUB_TOKEN }}