From ea2a6cc147b72679761fada2a3379343f71be610 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Kub=C3=ADk?= Date: Sun, 3 Sep 2023 13:25:50 +0200 Subject: [PATCH] ci(workflows/*): update toolchain step --- .github/workflows/release.yaml | 12 ++---------- .github/workflows/rust.yaml | 8 ++------ 2 files changed, 4 insertions(+), 16 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index ecffe73..874c09e 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-toolchai@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-toolchai@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..dce56aa 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-toolchai@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-toolchai@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