Skip to content

Commit

Permalink
Switch CI back to stable clippy (ordinals#2108)
Browse files Browse the repository at this point in the history
  • Loading branch information
casey authored May 23, 2023
1 parent 52c4d57 commit 93fb15e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 13 deletions.
14 changes: 3 additions & 11 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,25 +49,17 @@ jobs:
steps:
- uses: actions/checkout@v2

- name: Install rustfmt
- name: Install Rust Toolchain Components
uses: actions-rs/toolchain@v1
with:
components: rustfmt
components: clippy, 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 +nightly clippy --all --all-targets
run: cargo 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 +nightly clippy --all --all-targets -- -D warnings
cargo clippy --all --all-targets -- -D warnings

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

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

0 comments on commit 93fb15e

Please sign in to comment.