From d1f2b190d94eef86728e03e879866f43ff36c627 Mon Sep 17 00:00:00 2001 From: Ewan Cahen Date: Fri, 16 Feb 2024 12:14:38 +0100 Subject: [PATCH] build: upgrade other actions --- .github/workflows/all_tests.yml | 8 ++++---- .github/workflows/authentication_tests.yml | 6 +++--- .github/workflows/database_scan.yml | 2 +- .github/workflows/e2e_tests_chrome.yml | 4 ++-- .github/workflows/e2e_tests_firefox.yml | 4 ++-- .github/workflows/e2e_tests_macos.yml | 2 +- .github/workflows/e2e_tests_ubuntu.yml | 4 ++-- .github/workflows/frontend_tests.yml | 4 ++-- .github/workflows/scrapers_tests.yml | 6 +++--- 9 files changed, 20 insertions(+), 20 deletions(-) diff --git a/.github/workflows/all_tests.yml b/.github/workflows/all_tests.yml index 871a2bdc4..faba5f052 100644 --- a/.github/workflows/all_tests.yml +++ b/.github/workflows/all_tests.yml @@ -16,7 +16,7 @@ jobs: steps: - uses: actions/checkout@v4 - name: "install node v20.10 and cash yarn" - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: 20.10 cache: 'yarn' @@ -45,7 +45,7 @@ jobs: runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v4 - - uses: actions/setup-java@v3 + - uses: actions/setup-java@v4 with: distribution: 'temurin' java-version: '21' @@ -61,7 +61,7 @@ jobs: runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v4 - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: node-version: 20.10 cache: 'npm' @@ -71,7 +71,7 @@ jobs: working-directory: e2e run: echo "PLAYWRIGHT_VERSION=$(node -e "console.log(require('./package-lock.json').dependencies['@playwright/test'].version)")" >> $GITHUB_ENV - name: cache playwright binaries - uses: actions/cache@v3 + uses: actions/cache@v4 id: playwright-cache with: path: | diff --git a/.github/workflows/authentication_tests.yml b/.github/workflows/authentication_tests.yml index 919a23984..7d7aa19a8 100644 --- a/.github/workflows/authentication_tests.yml +++ b/.github/workflows/authentication_tests.yml @@ -25,18 +25,18 @@ jobs: - uses: actions/checkout@v4 with: fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis - - uses: actions/setup-java@v3 + - uses: actions/setup-java@v4 with: distribution: 'temurin' java-version: '21' - name: Cache SonarCloud packages - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.sonar/cache key: ${{ runner.os }}-sonar restore-keys: ${{ runner.os }}-sonar - name: Cache Maven packages - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.m2 key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }} diff --git a/.github/workflows/database_scan.yml b/.github/workflows/database_scan.yml index 1a1e347a8..7c508681c 100644 --- a/.github/workflows/database_scan.yml +++ b/.github/workflows/database_scan.yml @@ -25,7 +25,7 @@ jobs: with: fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis - name: Cache SonarCloud packages - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.sonar/cache key: ${{ runner.os }}-sonar diff --git a/.github/workflows/e2e_tests_chrome.yml b/.github/workflows/e2e_tests_chrome.yml index a56b8912f..ec662164d 100644 --- a/.github/workflows/e2e_tests_chrome.yml +++ b/.github/workflows/e2e_tests_chrome.yml @@ -35,7 +35,7 @@ jobs: runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v4 - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: node-version: 20.10 cache: 'npm' @@ -45,7 +45,7 @@ jobs: working-directory: e2e run: echo "PLAYWRIGHT_VERSION=$(node -e "console.log(require('./package-lock.json').dependencies['@playwright/test'].version)")" >> $GITHUB_ENV - name: cache playwright binaries - uses: actions/cache@v3 + uses: actions/cache@v4 id: playwright-cache with: path: | diff --git a/.github/workflows/e2e_tests_firefox.yml b/.github/workflows/e2e_tests_firefox.yml index 52f4ea71a..3f89842e6 100644 --- a/.github/workflows/e2e_tests_firefox.yml +++ b/.github/workflows/e2e_tests_firefox.yml @@ -17,7 +17,7 @@ jobs: runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v4 - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: node-version: 20.10 cache: 'npm' @@ -27,7 +27,7 @@ jobs: working-directory: e2e run: echo "PLAYWRIGHT_VERSION=$(node -e "console.log(require('./package-lock.json').dependencies['@playwright/test'].version)")" >> $GITHUB_ENV - name: cache playwright binaries - uses: actions/cache@v3 + uses: actions/cache@v4 id: playwright-cache with: path: | diff --git a/.github/workflows/e2e_tests_macos.yml b/.github/workflows/e2e_tests_macos.yml index d44a8163d..46312ac04 100644 --- a/.github/workflows/e2e_tests_macos.yml +++ b/.github/workflows/e2e_tests_macos.yml @@ -30,7 +30,7 @@ jobs: working-directory: e2e run: echo "PLAYWRIGHT_VERSION=$(node -e "console.log(require('./package-lock.json').dependencies['@playwright/test'].version)")" >> $GITHUB_ENV - name: cache playwright binaries - uses: actions/cache@v3 + uses: actions/cache@v4 id: playwright-cache with: path: | diff --git a/.github/workflows/e2e_tests_ubuntu.yml b/.github/workflows/e2e_tests_ubuntu.yml index bd628f2df..0711d6568 100644 --- a/.github/workflows/e2e_tests_ubuntu.yml +++ b/.github/workflows/e2e_tests_ubuntu.yml @@ -18,7 +18,7 @@ jobs: runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v4 - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: node-version: 20.10 cache: 'npm' @@ -28,7 +28,7 @@ jobs: working-directory: e2e run: echo "PLAYWRIGHT_VERSION=$(node -e "console.log(require('./package-lock.json').dependencies['@playwright/test'].version)")" >> $GITHUB_ENV - name: cache playwright binaries - uses: actions/cache@v3 + uses: actions/cache@v4 id: playwright-cache with: path: | diff --git a/.github/workflows/frontend_tests.yml b/.github/workflows/frontend_tests.yml index bd1a34755..2b5832e76 100644 --- a/.github/workflows/frontend_tests.yml +++ b/.github/workflows/frontend_tests.yml @@ -27,7 +27,7 @@ jobs: with: fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis - name: "install node v20.10 and cash yarn" - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: 20.10 cache: 'yarn' @@ -42,7 +42,7 @@ jobs: working-directory: frontend run: yarn test:coverage - name: Cache SonarCloud packages - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.sonar/cache key: ${{ runner.os }}-sonar diff --git a/.github/workflows/scrapers_tests.yml b/.github/workflows/scrapers_tests.yml index fe5ff15f6..64e5ecc00 100644 --- a/.github/workflows/scrapers_tests.yml +++ b/.github/workflows/scrapers_tests.yml @@ -25,18 +25,18 @@ jobs: - uses: actions/checkout@v4 with: fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis - - uses: actions/setup-java@v3 + - uses: actions/setup-java@v4 with: distribution: 'temurin' java-version: '21' - name: Cache SonarCloud packages - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.sonar/cache key: ${{ runner.os }}-sonar restore-keys: ${{ runner.os }}-sonar - name: Cache Maven packages - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.m2 key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}