Skip to content

Commit

Permalink
Remove nightly toolchain (-Zlints had been stablized since 1.74)
Browse files Browse the repository at this point in the history
  • Loading branch information
azat committed Jul 9, 2024
1 parent 70c4b69 commit 3b2d6ed
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,17 +20,12 @@ jobs:
- uses: Swatinem/rust-cache@v2
with:
cache-on-failure: true
- name: rust
run: |
rustup toolchain install nightly
rustup default nightly
rustup component add clippy
- name: Install dependencies
run: pip install PyOxidizer
- name: cargo check
run: cargo check
- name: cargo clippy
run: cargo clippy -Zlints -- -D warnings
run: cargo clippy

build-linux:
name: Build Linux
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ repos:
- id: cargo-check
- id: clippy
# read [lints] directive from Config.toml
args: ["-Zlints", "--", "-D", "warnings"]
args: ["--", "-D", "warnings"]

0 comments on commit 3b2d6ed

Please sign in to comment.