Skip to content

Commit 05713de

Browse files
authored
Fix CI (#4)
* Trigger CI * Try something * Pin rust * Move version * ADd cargo lock
1 parent f6ecc8b commit 05713de

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/pre-commit.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@ jobs:
1414
- uses: actions-rs/toolchain@v1
1515
with:
1616
profile: minimal
17-
toolchain: nightly
17+
toolchain: nightly-2023-03-01
1818
components: rustfmt, clippy
1919
- uses: pre-commit/action@v2.0.3

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ repos:
44
- id: cargo-fmt-nightly
55
name: Cargo Fmt Nightly
66
language: "rust"
7-
entry: cargo +nightly fmt
7+
entry: cargo +nightly-2023-03-01 fmt
88
pass_filenames: false
99
- id: cargo-clippy
1010
name: Cargo clippy
1111
language: "rust"
12-
entry : cargo +nightly clippy --tests -- -D warnings
12+
entry : cargo +nightly-2023-03-01 clippy --tests -- -D warnings
1313
pass_filenames : false

0 commit comments

Comments
 (0)