Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch from ubuntu-latest to ubuntu-22.04 #5675

Merged
merged 1 commit into from
Nov 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions .github/workflows/build-ironfish-rust-nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 }}
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check-pr-branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-regenerate-fixtures.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
jobs:
test:
name: Test
runs-on: ubuntu-latest
runs-on: ubuntu-22.04

steps:
- name: Check out Git repository
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
lint:
name: Lint

runs-on: ubuntu-latest
runs-on: ubuntu-22.04

steps:
- name: Check out Git repository
Expand Down Expand Up @@ -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]
Expand Down Expand Up @@ -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]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-node-docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ permissions:
jobs:
Deploy:
name: Deploy
runs-on: ubuntu-latest
runs-on: ubuntu-22.04

steps:
- name: Check out Git repository
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-npm-ironfish-cli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-npm-ironfish-rust-nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:

publish:
name: Publish
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
needs:
- build-and-test
defaults:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-npm-ironfish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/push-version-to-api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/rust_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -63,7 +63,7 @@ jobs:

cargo_check:
name: Check Rust
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4

Expand All @@ -83,7 +83,7 @@ jobs:

cargo_vet:
name: Vet Dependencies
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4

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

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

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/rust_ci_cache.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down