From 97cdded016e1182dca092239e4798666587e5380 Mon Sep 17 00:00:00 2001 From: Tasos Derisiotis <50984242+Eengineer1@users.noreply.github.com> Date: Fri, 18 Oct 2024 13:29:10 +0300 Subject: [PATCH] Switch to ubuntu-latest where relevant --- .github/workflows/build.yml | 4 ++-- .github/workflows/codeql.yml | 2 +- .github/workflows/release.yml | 8 ++++---- .github/workflows/test.yml | 12 ++++++------ 4 files changed, 13 insertions(+), 13 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7aaceaf96..6b40bd72e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -14,7 +14,7 @@ jobs: build-binary: name: "Node binary" - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 @@ -39,7 +39,7 @@ jobs: build-docker: name: "Docker image" - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest needs: build-binary env: IMAGE_NAME: ${{ github.repository }} diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index f7c221256..6716d4ce0 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -16,7 +16,7 @@ jobs: codeql-analysis: name: "CodeQL Analysis" - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest permissions: actions: read contents: read diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7ce25fa0c..e047e9b6f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -12,7 +12,7 @@ jobs: # List of languages enabled is smaller than in lint workflow super-lint: name: "Super Linter" - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 @@ -43,7 +43,7 @@ jobs: release-guard: name: "Check release condition" - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest needs: super-lint outputs: RELEASE_VERSION: ${{ steps.set-version.outputs.RELEASE_VERSION }} @@ -99,7 +99,7 @@ jobs: release-binary: name: "Node binary" - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest needs: [ super-lint, release-guard ] # Only run if release-guard outputs EXECUTE_RELEASE=true if: needs.release-guard.outputs.EXECUTE_RELEASE == 'true' @@ -139,7 +139,7 @@ jobs: release-docker: name: "Docker image" needs: [ super-lint, release-guard ] - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest # Only run if release-guard outputs EXECUTE_RELEASE=true if: needs.release-guard.outputs.EXECUTE_RELEASE == 'true' env: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 45f1c47fb..2112f582b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -14,7 +14,7 @@ permissions: jobs: installer-cosmovisor: name: "Installer - Cosmovisor mode" - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest env: PYTHONDEVMODE: 1 DEFAULT_DEBUG_BRANCH: ${{ github.ref_name }} @@ -44,7 +44,7 @@ jobs: installer-standalone: name: "Installer - Standalone mode" - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest env: PYTHONDEVMODE: 1 DEFAULT_DEBUG_BRANCH: ${{ github.ref_name }} @@ -73,7 +73,7 @@ jobs: unit-tests: name: "Unit Tests" - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 @@ -99,7 +99,7 @@ jobs: integration-tests: name: "Integration Tests" - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 @@ -166,7 +166,7 @@ jobs: upgrade-tests: name: "Upgrade Tests" - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 @@ -295,7 +295,7 @@ jobs: report-results: name: "Report" - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest # NOTE: If not next major release, only unit and integration tests are necessary, otherwise all tests are needed. # needs: [unit-tests, integration-tests] needs: [unit-tests, integration-tests, upgrade-tests]