We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 90b7523 commit af2ce36Copy full SHA for af2ce36
.github/workflows/ci.yml
@@ -1,8 +1,7 @@
1
name: CI
2
3
on:
4
- push:
5
- pull_request:
+ [push, pull_request, workflow_dispatch]
6
7
jobs:
8
test:
.github/workflows/lint.yml
@@ -0,0 +1,21 @@
+name: Lint
+
+on:
+jobs:
+ lint:
+ name: Lint
9
+ runs-on: ubuntu-latest
10
+ steps:
11
+ - uses: actions/checkout@v2
12
+ with:
13
+ submodules: recursive
14
+ - uses: dtolnay/rust-toolchain@master
15
16
+ toolchain: nightly
17
+ components: rustfmt, clippy
18
+ - run: cargo check
19
+ - run: cargo fmt -- --check
20
+ - run: RUSTFLAGS="--deny warnings" cargo build
21
+ - run: cargo clippy --all-features -- --deny warnings
0 commit comments