Skip to content

Commit

Permalink
ci(workflows/*): update toolchain step
Browse files Browse the repository at this point in the history
  • Loading branch information
M0dEx committed Sep 3, 2023
1 parent 2044106 commit 5792c30
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 16 deletions.
12 changes: 2 additions & 10 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
8 changes: 2 additions & 6 deletions .github/workflows/rust.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 5792c30

Please sign in to comment.