parent
9bcdb53053
commit
40e88469ce
15
.github/workflows/main.yml
vendored
15
.github/workflows/main.yml
vendored
@ -8,6 +8,21 @@ env:
|
||||
RUSTFLAGS: "-Dwarnings" # Deny warnings on CI
|
||||
|
||||
jobs:
|
||||
rustfmt:
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 10
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: Install rustfmt
|
||||
run: |
|
||||
rustup component add rustfmt
|
||||
|
||||
- name: Rustfmt
|
||||
run: |
|
||||
cargo fmt --check
|
||||
|
||||
build:
|
||||
runs-on: ${{ matrix.os }}
|
||||
timeout-minutes: 60
|
||||
|
Loading…
x
Reference in New Issue
Block a user