Skip to content

Commit

Permalink
ci: Bump to ubuntu-24.04, use unshare --propagation=unchanged (#115)
Browse files Browse the repository at this point in the history
The `unshare` invocation started failing, hopefully this
fixes it. In any case we might as well stop using a super old
version.

Signed-off-by: Colin Walters <[email protected]>
  • Loading branch information
cgwalters authored Jan 16, 2025
1 parent c6bff71 commit ef915d3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ env:

jobs:
build-test:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand Down Expand Up @@ -57,7 +57,7 @@ jobs:
- name: Test
run: cargo test --all-features -- --nocapture --quiet
clippy:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand All @@ -71,7 +71,7 @@ jobs:
run: cargo clippy -- -D warnings
# Verify that we can successfully vendor selected crates
test-crates:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
needs: build-test
strategy:
matrix:
Expand Down Expand Up @@ -104,4 +104,4 @@ jobs:
rm -rf vendor
cargo-vendor-filterer --platform x86_64-unknown-linux-gnu --no-default-features ${{ matrix.args }} > .cargo/config.toml
# This runs without networking, verifying we're building using vendored deps
- run: rm ~/.cargo/{registry,git} -rf && unshare -Umn cargo check --offline
- run: rm ~/.cargo/{registry,git} -rf && unshare -Umn --propagation=unchanged cargo check --offline

0 comments on commit ef915d3

Please sign in to comment.