Skip to content

Commit

Permalink
Run cargo fmt check on nightly in CI.
Browse files Browse the repository at this point in the history
  • Loading branch information
cryptoquick committed Jan 7, 2023
1 parent 9403821 commit e312437
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,23 @@ jobs:
command: build
args: --manifest-path payjoin-client/Cargo.toml

fmt:
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
rust: [nightly]

steps:
- uses: actions/checkout@v2
- uses: Swatinem/[email protected]
- uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.rust }}
override: true
- run: rustup component add rustfmt --toolchain nightly-x86_64-unknown-linux-gnu
- run: cargo fmt --all -- --check

lint:
runs-on: ubuntu-latest
strategy:
Expand Down

0 comments on commit e312437

Please sign in to comment.