From 09881ab48ad5888390d11bfa55c068516c3c8564 Mon Sep 17 00:00:00 2001 From: Ambroise Dhenain Date: Thu, 11 Apr 2024 14:24:08 +0200 Subject: [PATCH] Use ubuntu-latest instead of fixed version --- .github/workflows/auto-git-release-production.yml | 2 +- .github/workflows/auto-git-release-staging.yml | 2 +- .github/workflows/check-build.yml | 2 +- .github/workflows/run-integration-test.yml | 2 +- .github/workflows/update-codeclimate-coverage.yml | 4 ++-- README.md | 4 ++-- 6 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/auto-git-release-production.yml b/.github/workflows/auto-git-release-production.yml index 117d8904..881a0780 100644 --- a/.github/workflows/auto-git-release-production.yml +++ b/.github/workflows/auto-git-release-production.yml @@ -13,7 +13,7 @@ on: jobs: tag-and-release: - runs-on: ubuntu-22.04 + runs-on: ubuntu-latest steps: - name: Fetching all commits for the current branch uses: actions/checkout@v3 diff --git a/.github/workflows/auto-git-release-staging.yml b/.github/workflows/auto-git-release-staging.yml index cf8a61c4..99298bb0 100644 --- a/.github/workflows/auto-git-release-staging.yml +++ b/.github/workflows/auto-git-release-staging.yml @@ -13,7 +13,7 @@ on: jobs: tag-and-release: - runs-on: ubuntu-22.04 + runs-on: ubuntu-latest steps: - name: Fetching all commits for the current branch uses: actions/checkout@v3 diff --git a/.github/workflows/check-build.yml b/.github/workflows/check-build.yml index c4a1b497..f9eaa369 100644 --- a/.github/workflows/check-build.yml +++ b/.github/workflows/check-build.yml @@ -14,7 +14,7 @@ jobs: strategy: matrix: version: [ 16, 18, 20 ] - runs-on: ubuntu-22.04 + runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - run: | diff --git a/.github/workflows/run-integration-test.yml b/.github/workflows/run-integration-test.yml index 5d0bac58..6bafffb5 100644 --- a/.github/workflows/run-integration-test.yml +++ b/.github/workflows/run-integration-test.yml @@ -15,7 +15,7 @@ jobs: strategy: matrix: version: [ 16, 18, 20 ] - runs-on: ubuntu-22.04 + runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - run: yarn # Install all dependencies diff --git a/.github/workflows/update-codeclimate-coverage.yml b/.github/workflows/update-codeclimate-coverage.yml index 832c8286..35f24c98 100644 --- a/.github/workflows/update-codeclimate-coverage.yml +++ b/.github/workflows/update-codeclimate-coverage.yml @@ -16,7 +16,7 @@ jobs: # Ex: Necessary to run `yarn test:coverage` setup-environment: name: Setup deployment environment (Ubuntu 22.04 - Node 20.x) - runs-on: ubuntu-22.04 + runs-on: ubuntu-latest steps: - name: Installing node.js uses: actions/setup-node@v3 # Used to install node environment - XXX https://github.com/actions/setup-node @@ -24,7 +24,7 @@ jobs: node-version: 20 # Use the same node.js version as the one Vercel's uses (currently node20.x) run-tests-coverage: name: Run tests coverage and send report to Code Climate - runs-on: ubuntu-22.04 + runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - name: Installing dependencies diff --git a/README.md b/README.md index 96ca4015..4b15f801 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ ```yaml jobs: wait-for-vercel-deployment: - runs-on: ubuntu-22.04 + runs-on: ubuntu-latest steps: - uses: UnlyEd/github-action-await-vercel@v1 # TODO best practices recommend to use a fixed version instead of @v1 for production usage (i.e: @v1.2.32) id: await-vercel @@ -116,7 +116,7 @@ on: jobs: wait-for-vercel-deployment: - runs-on: ubuntu-22.04 + runs-on: ubuntu-latest steps: - name: Retrieve deployment URL (example on how to set an ENV var) run: "echo VERCEL_DEPLOYMENT_URL=nextjs-bzyss249z.vercel.app >> $GITHUB_ENV"