Skip to content

Commit

Permalink
add toolchain for ci
Browse files Browse the repository at this point in the history
  • Loading branch information
nbaztec committed Nov 8, 2023
1 parent c9edb00 commit ac50687
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/dependencies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ jobs:
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@nightly
with:
toolchain: nightly-2023-07-23

- name: cargo update
# Remove first line that always just says "Updating crates.io index"
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ jobs:
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@nightly
with:
toolchain: nightly-2023-07-23
- uses: Swatinem/rust-cache@v2
with:
cache-on-failure: true
Expand Down Expand Up @@ -53,6 +55,7 @@ jobs:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@nightly
with:
toolchain: nightly-2023-07-23
components: rustfmt
- run: cargo fmt --all --check

Expand All @@ -63,6 +66,8 @@ jobs:
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@nightly
with:
toolchain: nightly-2023-07-23
- uses: Swatinem/rust-cache@v2
with:
cache-on-failure: true
Expand All @@ -76,6 +81,8 @@ jobs:
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@nightly
with:
toolchain: nightly-2023-07-23
- uses: taiki-e/install-action@cargo-hack
- uses: Swatinem/rust-cache@v2
with:
Expand Down

0 comments on commit ac50687

Please sign in to comment.