Skip to content

Commit 50dc9d3

Browse files
committed
ci: make full test
1 parent 84324a8 commit 50dc9d3

File tree

1 file changed

+25
-5
lines changed

1 file changed

+25
-5
lines changed

.github/workflows/develop.yml

Lines changed: 25 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,40 @@
11
name: Development Checks
22

3-
on: [pull_request]
3+
on: [push,pull_request]
44

55
jobs:
6-
format:
6+
run:
77
runs-on: ubuntu-latest
88
env:
99
CARGO_TERM_COLOR: always
1010
steps:
1111
- uses: actions/checkout@v3
1212
- uses: dtolnay/rust-toolchain@nightly
1313
with:
14-
components: rustfmt
14+
components: rustfmt, clippy
1515
- uses: Swatinem/rust-cache@v2
16-
- name: Verify Formatting
16+
- name: Format
1717
uses: ClementTsang/cargo-action@main
1818
with:
1919
command: fmt
20-
args: --all --check
20+
args: --all --check
21+
- name: Check
22+
uses: ClementTsang/cargo-action@main
23+
with:
24+
command: check
25+
args: --all-targets
26+
- name: Clippy
27+
uses: ClementTsang/cargo-action@main
28+
with:
29+
command: clippy
30+
args: --all-targets
31+
- name: Build
32+
uses: ClementTsang/cargo-action@main
33+
with:
34+
command: build
35+
args: --all-targets
36+
- name: Test
37+
uses: ClementTsang/cargo-action@main
38+
with:
39+
command: test
40+
args: --all-targets

0 commit comments

Comments
 (0)