Skip to content

Commit

Permalink
Rentroduce fmt action
Browse files Browse the repository at this point in the history
  • Loading branch information
DanGould committed Apr 26, 2023
1 parent d56a696 commit 62f7106
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 @@ -44,3 +44,20 @@ jobs:
with:
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

0 comments on commit 62f7106

Please sign in to comment.