diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index ecffe73..7a321c5 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -13,12 +13,8 @@ jobs: steps: - uses: actions/checkout@v2 name: Checkout repository - - uses: actions-rs/toolchain@v1 + - uses: dtolnay/rust-toolchain@stable name: Set up toolchain - with: - profile: minimal - toolchain: stable - override: true - uses: Swatinem/rust-cache@v2 name: Cache toolchain and dependencies - uses: katyo/publish-crates@v2 @@ -37,12 +33,8 @@ jobs: steps: - uses: actions/checkout@v2 name: Checkout repository - - uses: actions-rs/toolchain@v1 + - uses: dtolnay/rust-toolchain@stable name: Set up toolchain - with: - profile: minimal - toolchain: stable - override: true - uses: Swatinem/rust-cache@v2 name: Cache toolchain and dependencies - name: Build x86_64 Linux binaries diff --git a/.github/workflows/rust.yaml b/.github/workflows/rust.yaml index 1394d6e..d056539 100644 --- a/.github/workflows/rust.yaml +++ b/.github/workflows/rust.yaml @@ -20,12 +20,10 @@ jobs: steps: - uses: actions/checkout@v2 name: Checkout repository - - uses: actions-rs/toolchain@v1 + - uses: dtolnay/rust-toolchain@master name: Set up toolchain with: - profile: minimal toolchain: ${{ matrix.rust }} - override: true - uses: Swatinem/rust-cache@v2 name: Cache toolchain and dependencies - uses: actions-rs/cargo@v1 @@ -52,12 +50,10 @@ jobs: steps: - uses: actions/checkout@v2 name: Checkout repository - - uses: actions-rs/toolchain@v1 + - uses: dtolnay/rust-toolchain@master name: Set up toolchain with: - profile: minimal toolchain: ${{ matrix.rust }} - override: true components: rustfmt, clippy - uses: Swatinem/rust-cache@v2 name: Cache toolchain and dependencies