Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 9 additions & 7 deletions .github/workflows/pre-commit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,13 @@ jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- uses: actions-rs/toolchain@v1
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
- uses: dtolnay/rust-toolchain@stable
with:
profile: minimal
toolchain: nightly-2023-03-01
components: rustfmt, clippy
- uses: pre-commit/action@v2.0.3
toolchain: 1.85.1
components: clippy
- uses: dtolnay/rust-toolchain@nightly
with:
components: rustfmt
- uses: pre-commit/action@v3.0.1
10 changes: 5 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
repos:
- repo: local
hooks:
- id: cargo-fmt-nightly
name: Cargo Fmt Nightly
- id: cargo-fmt
name: Cargo Fmt
language: "rust"
entry: cargo +nightly-2023-03-01 fmt
entry: cargo +nightly fmt
pass_filenames: false
- id: cargo-clippy
name: Cargo clippy
language: "rust"
entry : cargo +nightly-2023-03-01 clippy --tests -- -D warnings
pass_filenames : false
entry: cargo clippy --tests -- -D warnings
pass_filenames: false
Loading
Loading