Skip to content

Commit

Permalink
nightly CI fix (#82)
Browse files Browse the repository at this point in the history
* Update rust.yml

* Update rust.yml
  • Loading branch information
plotchy authored Jun 26, 2024
1 parent e21ae05 commit 05e381b
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,19 @@ jobs:

steps:
- uses: actions/checkout@v3

# Install Rust toolchain
- name: Install Rust toolchain
run: rustup toolchain install nightly

# Install rustfmt component for nightly toolchain
- name: Install rustfmt for nightly
run: rustup component add --toolchain nightly rustfmt

# Lint with fmt using nightly toolchain
- name: Lint with fmt
run: cargo +nightly fmt --all --check

# Run tests
- name: Run tests
run: cargo test --all

0 comments on commit 05e381b

Please sign in to comment.