Skip to content

Commit

Permalink
ci: verify formating for pull requests
Browse files Browse the repository at this point in the history
  • Loading branch information
da2ce7 committed Nov 29, 2022
1 parent c982c4e commit a39a0d9
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/develop.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Development Checks

on: [pull_request]

jobs:
format:
runs-on: ubuntu-latest
env:
CARGO_TERM_COLOR: always
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@nightly
with:
components: rustfmt
- uses: Swatinem/rust-cache@v2
- name: Verify Formatting
uses: ClementTsang/cargo-action@main
with:
command: fmt
args: --all --check

0 comments on commit a39a0d9

Please sign in to comment.