From 4f8c8b42ccbbf4ec3d936e6c293335a256a2c163 Mon Sep 17 00:00:00 2001 From: Austin Vazquez Date: Tue, 27 Aug 2024 15:33:01 +0000 Subject: [PATCH] Update GitHub Actions runner images to ubuntu-22.04 Signed-off-by: Austin Vazquez --- .github/workflows/benchmark_visualization.yml | 6 +++--- .github/workflows/build.yml | 2 +- .github/workflows/bump-deps.yml | 2 +- .github/workflows/comparision-test.yml | 2 +- .github/workflows/new-pull-requests.yml | 2 +- .github/workflows/prebuild.yml | 10 +++++----- .github/workflows/releases.yml | 7 ++++--- .github/workflows/review-dependencies.yml | 2 +- .github/workflows/update-getting-started-guide.yml | 4 ++-- 9 files changed, 19 insertions(+), 18 deletions(-) diff --git a/.github/workflows/benchmark_visualization.yml b/.github/workflows/benchmark_visualization.yml index dd19d2449..5196fcecc 100644 --- a/.github/workflows/benchmark_visualization.yml +++ b/.github/workflows/benchmark_visualization.yml @@ -17,7 +17,7 @@ env: jobs: benchmark: - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 steps: - name: Checkout main branch uses: actions/checkout@v4 @@ -37,7 +37,7 @@ jobs: path: ${{github.workspace}}/benchmark/performanceTest/output/results.json download-and-convert-benchmark-result-to-visualization-data: - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 needs: benchmark steps: - name: Checkout main branch @@ -67,7 +67,7 @@ jobs: push-benchmark-result-gh-pages: name: Push benchmark result to Github-pages - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 needs: download-and-convert-benchmark-result-to-visualization-data strategy: matrix: diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0599f94ce..68d45e06d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -34,7 +34,7 @@ jobs: # up a codebuild project. https://docs.aws.amazon.com/codebuild/latest/userguide/action-runner.html # Then, replace 'soci-snapshotter-instance' with the name of the project you created. name: Setup Build Matrix - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 strategy: matrix: # We're using a matrix with a single entry so that we can define some config as YAML rather than diff --git a/.github/workflows/bump-deps.yml b/.github/workflows/bump-deps.yml index 894b48a6a..470344f99 100644 --- a/.github/workflows/bump-deps.yml +++ b/.github/workflows/bump-deps.yml @@ -20,7 +20,7 @@ jobs: # Don't bother bumping deps on forks. if: ${{ github.repository == 'awslabs/soci-snapshotter' || github.event_name == 'workflow_dispatch' }} - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/comparision-test.yml b/.github/workflows/comparision-test.yml index cb00c602e..571dee7af 100644 --- a/.github/workflows/comparision-test.yml +++ b/.github/workflows/comparision-test.yml @@ -9,7 +9,7 @@ env: jobs: check: - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v4 - uses: actions/setup-go@v5 diff --git a/.github/workflows/new-pull-requests.yml b/.github/workflows/new-pull-requests.yml index e0efff80f..b62877bad 100644 --- a/.github/workflows/new-pull-requests.yml +++ b/.github/workflows/new-pull-requests.yml @@ -13,7 +13,7 @@ permissions: jobs: label: if: github.event.pull_request.draft == false - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 permissions: pull-requests: write diff --git a/.github/workflows/prebuild.yml b/.github/workflows/prebuild.yml index 1f74884c1..e0a4e3a96 100644 --- a/.github/workflows/prebuild.yml +++ b/.github/workflows/prebuild.yml @@ -12,7 +12,7 @@ env: jobs: check: - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v4 with: @@ -32,7 +32,7 @@ jobs: - run: PATH=$PATH:$(pwd) ./scripts/check-flatc.sh git-secrets: - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 steps: - name: Pull latest awslabs/git-secrets repo uses: actions/checkout@v4 @@ -54,7 +54,7 @@ jobs: strategy: matrix: working_dir: ['.', 'cmd'] - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v4 - uses: golangci/golangci-lint-action@v6 @@ -64,13 +64,13 @@ jobs: yamllint: name: yamllint-lint - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v4 - run: yamllint . shellcheck: - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 container: koalaman/shellcheck-alpine:v0.10.0 steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/releases.yml b/.github/workflows/releases.yml index fc12d420b..d44a39e5a 100644 --- a/.github/workflows/releases.yml +++ b/.github/workflows/releases.yml @@ -20,7 +20,8 @@ permissions: jobs: generate-artifacts: - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 + container: public.ecr.aws/ubuntu/ubuntu:20.04 env: # Set during setup. RELEASE_TAG: '' @@ -60,7 +61,7 @@ jobs: validate-artifacts: needs: generate-artifacts - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v4 - uses: actions/download-artifact@v4 @@ -72,7 +73,7 @@ jobs: create-release: if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') needs: [generate-artifacts, validate-artifacts] - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v4 - uses: actions/download-artifact@v4 diff --git a/.github/workflows/review-dependencies.yml b/.github/workflows/review-dependencies.yml index 9c31e8c26..972627d6f 100644 --- a/.github/workflows/review-dependencies.yml +++ b/.github/workflows/review-dependencies.yml @@ -9,7 +9,7 @@ on: jobs: review: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 permissions: # Write permissions needed to comment review results on PR. diff --git a/.github/workflows/update-getting-started-guide.yml b/.github/workflows/update-getting-started-guide.yml index e650ed4f9..9d065f6fa 100644 --- a/.github/workflows/update-getting-started-guide.yml +++ b/.github/workflows/update-getting-started-guide.yml @@ -17,7 +17,7 @@ on: jobs: test-update-version: if: github.event_name == 'pull_request' - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 permissions: contents: read @@ -35,7 +35,7 @@ jobs: update-version: if: github.event_name == 'release' - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 permissions: # Write permissions needed to create pull request.