Skip to content

Commit

Permalink
chore: pin rust toolchain version (#284)
Browse files Browse the repository at this point in the history
Signed-off-by: Lorenzo Delgado <lorenzo@edgeandnode.com>
  • Loading branch information
LNSD committed Jul 25, 2024
1 parent 0cb11ae commit f5a7901
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ jobs:
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4

- uses: dtolnay/rust-toolchain@stable
- uses: actions-rust-lang/setup-rust-toolchain@1fbea72663f6d4c03efaab13560c8a24cfd2a7cc # v1
with:
toolchain: stable
components: clippy
cache: false

- name: Cache rust build files
uses: Leafwing-Studios/cargo-cache@6c2a159aab4b3ba20f083d241bb1f26b35262b99 # v2
Expand Down Expand Up @@ -73,9 +73,10 @@ jobs:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4

- name: Setup Rust toolchain
uses: dtolnay/rust-toolchain@nightly
uses: actions-rust-lang/setup-rust-toolchain@1fbea72663f6d4c03efaab13560c8a24cfd2a7cc # v1
with:
toolchain: nightly
components: rustfmt
cache: false

- run: cargo +nightly fmt --all -- --check
2 changes: 1 addition & 1 deletion rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[toolchain]
channel = "stable"
channel = "1.79.0"
profile = "default"

0 comments on commit f5a7901

Please sign in to comment.