Skip to content

Commit

Permalink
add CI file
Browse files Browse the repository at this point in the history
  • Loading branch information
danieleades committed Apr 20, 2021
1 parent 1092bfa commit 1fe6d81
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
on:
push:
branches: [master]
pull_request:

name: Continuous integration

jobs:

fmt:
name: Rustfmt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly
override: true
profile: minimal
components: rustfmt
- uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check

0 comments on commit 1fe6d81

Please sign in to comment.