From 938cc69ec585d1b5c75dce225b743f93e05639e2 Mon Sep 17 00:00:00 2001 From: David Lattimore Date: Fri, 11 Oct 2024 08:51:56 +1100 Subject: [PATCH] CI: Use Ubuntu 22.04 Issue #23 --- .github/workflows/cackle.yml | 2 +- .github/workflows/ci.yml | 6 +++--- .github/workflows/cron.yml | 4 ++-- .github/workflows/release.yml | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/cackle.yml b/.github/workflows/cackle.yml index 841284e..de57cb3 100644 --- a/.github/workflows/cackle.yml +++ b/.github/workflows/cackle.yml @@ -23,7 +23,7 @@ env: jobs: cackle: name: Cackle check and test - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v4 - uses: dtolnay/rust-toolchain@stable diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9677543..5e5ee52 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,7 +14,7 @@ env: jobs: test-stable: name: Test x86_64-linux stable - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v4 - uses: dtolnay/rust-toolchain@stable @@ -34,7 +34,7 @@ jobs: clippy: name: Clippy - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v4 - uses: dtolnay/rust-toolchain@stable @@ -54,7 +54,7 @@ jobs: rustfmt: name: Check formatting - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v4 - uses: dtolnay/rust-toolchain@stable diff --git a/.github/workflows/cron.yml b/.github/workflows/cron.yml index 073b6df..03ed886 100644 --- a/.github/workflows/cron.yml +++ b/.github/workflows/cron.yml @@ -14,7 +14,7 @@ jobs: cackle: if: github.repository == 'cackle-rs/cackle' name: cackle with latest - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v4 - uses: dtolnay/rust-toolchain@stable @@ -26,7 +26,7 @@ jobs: test-nightly: if: github.repository == 'cackle-rs/cackle' name: Test Nightly - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v4 - uses: dtolnay/rust-toolchain@nightly diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d0e4f28..e070c8a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -17,7 +17,7 @@ jobs: matrix: include: - build: linux - os: ubuntu-latest + os: ubuntu-22.04 target: x86_64-unknown-linux-musl steps: