Skip to content

Commit

Permalink
CI: pin ubuntu version
Browse files Browse the repository at this point in the history
  • Loading branch information
Sharktheone committed Oct 15, 2024
1 parent 1ff0948 commit a9ebe01
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@ env:

jobs:
build:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
strategy:
fail-fast: false
matrix:
rust_version: [ stable, nightly, 1.73.0 ]
os: [ ubuntu-latest ]
os: [ ubuntu-24.04 ]
# rust_version: [ stable, beta, nightly, 1.73.0, "stable minus 1 release", "stable minus 2 releases" ]
# os: [ ubuntu-latest, windows-latest, macos-latest ]
# os: [ ubuntu-24.04, windows-latest, macos-latest ]
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
Expand Down Expand Up @@ -49,14 +49,14 @@ jobs:
cargo sweep --time 7
test:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
strategy:
fail-fast: false
matrix:
rust_version: [ stable, nightly, 1.73.0 ]
os: [ ubuntu-latest ]
os: [ ubuntu-24.04 ]
# rust_version: [ stable, beta, nightly, 1.73.0, "stable minus 1 release", "stable minus 2 releases" ]
# os: [ ubuntu-latest, windows-latest, macos-latest ]
# os: [ ubuntu-24.04, windows-latest, macos-latest ]
steps:
- name: Print CPU info
run: lscpu
Expand Down Expand Up @@ -84,14 +84,14 @@ jobs:
run: cargo test --verbose --all --no-fail-fast --all-features --all-targets

clippy:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
strategy:
fail-fast: false
matrix:
rust_version: [ stable, nightly ]
os: [ ubuntu-latest ]
os: [ ubuntu-24.04 ]
# rust_version: [ stable, beta, nightly, 1.73.0, "stable minus 1 release", "stable minus 2 releases" ]
# os: [ ubuntu-latest, windows-latest, macos-latest ]
# os: [ ubuntu-24.04, windows-latest, macos-latest ]
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
Expand All @@ -115,7 +115,7 @@ jobs:
run: cargo clippy --all --tests -- -D warnings

fmt:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
Expand Down

0 comments on commit a9ebe01

Please sign in to comment.