From 2fd301db0bf9b4629c29855e24d29fea5324f886 Mon Sep 17 00:00:00 2001 From: Derek Guenther Date: Tue, 26 Nov 2024 20:08:46 -0500 Subject: [PATCH] Switch from ubuntu-latest to ubuntu-22.04 (#5675) --- .../workflows/build-ironfish-rust-nodejs.yml | 18 +++++++++--------- .github/workflows/check-pr-branch.yml | 2 +- .github/workflows/ci-regenerate-fixtures.yml | 2 +- .github/workflows/ci.yml | 6 +++--- .github/workflows/deploy-node-docker-image.yml | 2 +- .github/workflows/deploy-npm-ironfish-cli.yml | 2 +- .../deploy-npm-ironfish-rust-nodejs.yml | 2 +- .github/workflows/deploy-npm-ironfish.yml | 2 +- .github/workflows/push-version-to-api.yml | 2 +- .github/workflows/rust_ci.yml | 16 ++++++++-------- .github/workflows/rust_ci_cache.yml | 2 +- 11 files changed, 28 insertions(+), 28 deletions(-) diff --git a/.github/workflows/build-ironfish-rust-nodejs.yml b/.github/workflows/build-ironfish-rust-nodejs.yml index a9708ea729..28b46b6206 100644 --- a/.github/workflows/build-ironfish-rust-nodejs.yml +++ b/.github/workflows/build-ironfish-rust-nodejs.yml @@ -14,7 +14,7 @@ jobs: fail-fast: false matrix: settings: - - host: ubuntu-latest + - host: ubuntu-22.04 target: x86_64-apple-darwin - host: windows-latest @@ -24,16 +24,16 @@ jobs: - host: macos-latest target: x86_64-unknown-linux-gnu - - host: ubuntu-latest + - host: ubuntu-22.04 target: x86_64-unknown-linux-musl - - host: ubuntu-latest + - host: ubuntu-22.04 target: aarch64-apple-darwin - - host: ubuntu-latest + - host: ubuntu-22.04 target: aarch64-unknown-linux-gnu - - host: ubuntu-latest + - host: ubuntu-22.04 target: aarch64-unknown-linux-musl name: Build ${{ matrix.settings.target }} @@ -94,19 +94,19 @@ jobs: - host: windows-latest target: x86_64-pc-windows-msvc - - host: ubuntu-latest + - host: ubuntu-22.04 target: x86_64-unknown-linux-gnu docker: node:18-slim - - host: ubuntu-latest + - host: ubuntu-22.04 target: x86_64-unknown-linux-musl docker: node:18-alpine - - host: ubuntu-latest + - host: ubuntu-22.04 target: aarch64-unknown-linux-gnu docker: ghcr.io/napi-rs/napi-rs/nodejs:aarch64-16 - - host: ubuntu-latest + - host: ubuntu-22.04 target: aarch64-unknown-linux-musl docker: arm64v8/node:18-alpine platform: linux/arm64/v8 diff --git a/.github/workflows/check-pr-branch.yml b/.github/workflows/check-pr-branch.yml index 5ca2196c3d..d8769dbfff 100644 --- a/.github/workflows/check-pr-branch.yml +++ b/.github/workflows/check-pr-branch.yml @@ -8,7 +8,7 @@ on: jobs: check: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - if: ${{ contains(github.event.pull_request.base.ref, 'master') && !contains(github.event.pull_request.title, 'master') }} run: | diff --git a/.github/workflows/ci-regenerate-fixtures.yml b/.github/workflows/ci-regenerate-fixtures.yml index dc766b127f..bafd232b5b 100644 --- a/.github/workflows/ci-regenerate-fixtures.yml +++ b/.github/workflows/ci-regenerate-fixtures.yml @@ -7,7 +7,7 @@ on: jobs: test: name: Test - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Check out Git repository diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index dd24ed63fc..940458b6eb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,7 +12,7 @@ jobs: lint: name: Lint - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Check out Git repository @@ -51,7 +51,7 @@ jobs: test: name: Test - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 strategy: matrix: shard: [1/3, 2/3, 3/3] @@ -96,7 +96,7 @@ jobs: testslow: name: Slow Tests - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 strategy: matrix: shard: [1/2, 2/2] diff --git a/.github/workflows/deploy-node-docker-image.yml b/.github/workflows/deploy-node-docker-image.yml index aa82644504..82ba5a79c6 100644 --- a/.github/workflows/deploy-node-docker-image.yml +++ b/.github/workflows/deploy-node-docker-image.yml @@ -37,7 +37,7 @@ permissions: jobs: Deploy: name: Deploy - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Check out Git repository diff --git a/.github/workflows/deploy-npm-ironfish-cli.yml b/.github/workflows/deploy-npm-ironfish-cli.yml index 9de31cb06c..f663af98aa 100644 --- a/.github/workflows/deploy-npm-ironfish-cli.yml +++ b/.github/workflows/deploy-npm-ironfish-cli.yml @@ -8,7 +8,7 @@ on: jobs: build: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Check out Git repository uses: actions/checkout@v4 diff --git a/.github/workflows/deploy-npm-ironfish-rust-nodejs.yml b/.github/workflows/deploy-npm-ironfish-rust-nodejs.yml index 881c78d97d..f3fd64021b 100644 --- a/.github/workflows/deploy-npm-ironfish-rust-nodejs.yml +++ b/.github/workflows/deploy-npm-ironfish-rust-nodejs.yml @@ -13,7 +13,7 @@ jobs: publish: name: Publish - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 needs: - build-and-test defaults: diff --git a/.github/workflows/deploy-npm-ironfish.yml b/.github/workflows/deploy-npm-ironfish.yml index d3bfa98fd4..4651cdfb7a 100644 --- a/.github/workflows/deploy-npm-ironfish.yml +++ b/.github/workflows/deploy-npm-ironfish.yml @@ -5,7 +5,7 @@ on: jobs: deploy: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Check out Git repository uses: actions/checkout@v4 diff --git a/.github/workflows/push-version-to-api.yml b/.github/workflows/push-version-to-api.yml index 1c01249c35..957f7b1951 100644 --- a/.github/workflows/push-version-to-api.yml +++ b/.github/workflows/push-version-to-api.yml @@ -14,7 +14,7 @@ on: jobs: Push: name: Push Version to API - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Check out Git repository diff --git a/.github/workflows/rust_ci.yml b/.github/workflows/rust_ci.yml index a3d4afe44d..a04a612bf8 100644 --- a/.github/workflows/rust_ci.yml +++ b/.github/workflows/rust_ci.yml @@ -33,7 +33,7 @@ name: Rust CI jobs: rust_lint: name: Lint Rust - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v4 @@ -63,7 +63,7 @@ jobs: cargo_check: name: Check Rust - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v4 @@ -83,7 +83,7 @@ jobs: cargo_vet: name: Vet Dependencies - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v4 @@ -103,7 +103,7 @@ jobs: ironfish_rust: name: Test ironfish-rust - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 strategy: matrix: shard: [1/2, 2/2] @@ -142,7 +142,7 @@ jobs: ironfish_rust_no_default_features: name: Test ironfish-rust (no default features) - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 strategy: matrix: shard: [1/2, 2/2] @@ -168,7 +168,7 @@ jobs: ironfish_rust_all_features: name: Test ironfish-rust (all features) - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 strategy: matrix: shard: [1/2, 2/2] @@ -194,7 +194,7 @@ jobs: ironfish_zkp: name: Test ironfish-zkp - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v4 @@ -228,7 +228,7 @@ jobs: ironfish_wasm: name: Test ironfish-rust-wasm - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/rust_ci_cache.yml b/.github/workflows/rust_ci_cache.yml index 792183f62a..16d0edccb1 100644 --- a/.github/workflows/rust_ci_cache.yml +++ b/.github/workflows/rust_ci_cache.yml @@ -19,7 +19,7 @@ name: Cache Rust build jobs: build-rust-cache: name: Build and cache rust code - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v4