Skip to content

Commit

Permalink
Switch to nightly clippy (ordinals#2037)
Browse files Browse the repository at this point in the history
  • Loading branch information
soenkehahn authored Apr 24, 2023
1 parent 1e3c68f commit 0000373
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 5 deletions.
14 changes: 11 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,17 +49,25 @@ jobs:
steps:
- uses: actions/checkout@v2

- name: Install Rust Toolchain Components
- name: Install rustfmt
uses: actions-rs/toolchain@v1
with:
components: clippy, rustfmt
components: rustfmt
override: true
toolchain: stable

- name: Install clippy nightly
uses: actions-rs/toolchain@v1
with:
components: clippy
toolchain: nightly

- uses: Swatinem/rust-cache@v2
with:
key: "clippy-nightly"

- name: Clippy
run: cargo clippy --all --all-targets
run: cargo +nightly clippy --all --all-targets

- name: Format
run: cargo fmt --all -- --check
Expand Down
4 changes: 2 additions & 2 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ fmt:
cargo fmt

clippy:
cargo clippy --all --all-targets -- -D warnings
cargo +nightly clippy --all --all-targets -- -D warnings

lclippy:
cargo lclippy --all --all-targets -- -D warnings
cargo +nightly lclippy --all --all-targets -- -D warnings

deploy branch chain domain:
ssh root@{{domain}} "mkdir -p deploy \
Expand Down

0 comments on commit 0000373

Please sign in to comment.