From 44a5db2a9cfe6b45dd2223a0b7bd6c205ed21ae4 Mon Sep 17 00:00:00 2001 From: WATANABE Yuki Date: Fri, 17 Jan 2025 00:22:55 +0900 Subject: [PATCH] Update stable toolchain in CI GitHub Actions images are updated regularly, but sometimes the preinstalled Rust toolchain is not the latest stable release. This commit updates the stable toolchain to the latest version in the CI workflow. --- .github/workflows/ci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index aae1d023..54a01bdc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,6 +18,7 @@ jobs: RUSTDOCFLAGS: -D warnings steps: - uses: actions/checkout@v4 + - uses: dtolnay/rust-toolchain@stable - uses: Swatinem/rust-cache@v2 - name: Run basic tests run: ./check.sh -v @@ -25,6 +26,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 + - uses: dtolnay/rust-toolchain@stable - uses: Swatinem/rust-cache@v2 - uses: giraffate/clippy-action@v1 with: @@ -35,6 +37,7 @@ jobs: RUSTFLAGS: -D warnings steps: - uses: actions/checkout@v4 + - uses: dtolnay/rust-toolchain@stable - uses: Swatinem/rust-cache@v2 - name: Run extra tests run: | @@ -58,6 +61,7 @@ jobs: runs-on: windows-latest steps: - uses: actions/checkout@v4 + - uses: dtolnay/rust-toolchain@stable - uses: Swatinem/rust-cache@v2 - name: Test yash-arith run: cargo test --all-features --package yash-arith