Skip to content

Commit

Permalink
Switch to ubuntu-latest where relevant
Browse files Browse the repository at this point in the history
  • Loading branch information
Eengineer1 committed Oct 18, 2024
1 parent 95eae6a commit 97cdded
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 13 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:

build-binary:
name: "Node binary"
runs-on: ubuntu-20.04
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
Expand All @@ -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 }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:

codeql-analysis:
name: "CodeQL Analysis"
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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 }}
Expand Down Expand Up @@ -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'
Expand Down Expand Up @@ -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:
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down Expand Up @@ -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 }}
Expand Down Expand Up @@ -73,7 +73,7 @@ jobs:

unit-tests:
name: "Unit Tests"
runs-on: ubuntu-20.04
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
Expand All @@ -99,7 +99,7 @@ jobs:

integration-tests:
name: "Integration Tests"
runs-on: ubuntu-20.04
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -166,7 +166,7 @@ jobs:

upgrade-tests:
name: "Upgrade Tests"
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

Expand Down Expand Up @@ -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]
Expand Down

0 comments on commit 97cdded

Please sign in to comment.