diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4fa1e99..9c2ca6e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,11 +11,9 @@ jobs: uses: actions/checkout@v4 - name: Install stable toolchain - uses: actions-rs/toolchain@v1 + uses: dtolnay/rust-toolchain@stable with: - profile: minimal toolchain: stable - override: true - name: Run cargo check uses: actions-rs/cargo@v1 @@ -30,11 +28,9 @@ jobs: uses: actions/checkout@v4 - name: Install stable toolchain - uses: actions-rs/toolchain@v1 + uses: dtolnay/rust-toolchain@stable with: - profile: minimal toolchain: stable - override: true - name: Run cargo test uses: actions-rs/cargo@v1 @@ -49,11 +45,9 @@ jobs: uses: actions/checkout@v4 - name: Install stable toolchain - uses: actions-rs/toolchain@v1 + uses: dtolnay/rust-toolchain@stable with: - profile: minimal toolchain: stable - override: true components: rustfmt, clippy - name: Run cargo fmt diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 37412c0..407ef9a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -24,11 +24,9 @@ jobs: steps: - name: Install stable toolchain - uses: actions-rs/toolchain@v1 + uses: dtolnay/rust-toolchain@stable with: - profile: minimal toolchain: stable - override: true - uses: actions/checkout@v4 - name: Build run: cargo build --release --locked