diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d1120022..de51faf5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,6 +15,8 @@ jobs: steps: - uses: actions/checkout@v4 - run: rustup toolchain install stable --profile minimal + - run: rustup toolchain install nightly --profile minimal + - run: rustup component add --toolchain nightly rustfmt - uses: Swatinem/rust-cache@v2 - run: make lint diff --git a/Makefile b/Makefile index 91df7b43..d653c593 100644 --- a/Makefile +++ b/Makefile @@ -100,11 +100,11 @@ test_wasm: lint: cargo update --workspace --locked --quiet cargo check --workspace --all-targets - cargo fmt --all --check + cargo +nightly fmt --all --check cargo clippy --workspace --all-targets -- -D warnings format: - cargo fmt --all + cargo +nightly fmt --all changelog: @git-cliff --config script/cliff.toml --output CHANGELOG.md --latest --github-token $(shell gh auth token)