From 451f8f9f14acb516f0f2cd6d2d3ba496fc479d29 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Sun, 18 Dec 2022 10:17:09 +0100 Subject: Replace actions-rs with dtolnay Signed-off-by: Matthias Beyer --- .github/workflows/ci.yml | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 616d4be..3aec624 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,11 +13,9 @@ jobs: - stable steps: - uses: actions/checkout@v3 - - uses: actions-rs/toolchain@v1 + - uses: dtolnay/rust-toolchain@master with: - profile: minimal toolchain: ${{ matrix.rust }} - override: true - uses: actions-rs/cargo@v1 with: command: check @@ -29,7 +27,7 @@ jobs: steps: - uses: actions/checkout@v3 - - uses: actions-rs/toolchain@v1 + - uses: dtolnay/rust-toolchain@master with: toolchain: 1.60.0 - run: rustup component add rustfmt @@ -49,11 +47,9 @@ jobs: - stable steps: - uses: actions/checkout@v3 - - uses: actions-rs/toolchain@v1 + - uses: dtolnay/rust-toolchain@master with: - profile: minimal toolchain: ${{ matrix.rust }} - override: true - run: sudo apt-get update && sudo apt-get install -y taskwarrior - uses: actions-rs/cargo@v1 with: @@ -71,10 +67,9 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - uses: actions-rs/toolchain@v1 + - uses: dtolnay/rust-toolchain@master with: toolchain: 1.60.0 - override: true - uses: swatinem/rust-cache@v2 - run: rustup component add clippy - name: cargo-clippy -- cgit v1.2.3