Skip to content

Commit 37b257b

Browse files
authored
1 parent 629e10b commit 37b257b

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/check-rs.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ concurrency:
2121
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
2222
cancel-in-progress: true
2323

24-
# env:
24+
env:
25+
RUSTFLAGS: -D warnings
2526
# TRACE: DEBUG
2627

2728
jobs:
@@ -67,11 +68,14 @@ jobs:
6768
run: rustup show
6869
#- name: Cache
6970
# uses: speedy-js/rust-cache-self-hosted@v1
71+
- name: Run cargo check
72+
run: cargo check --workspace --all-targets --all-features --release --locked
73+
7074
- name: Run clippy
7175
uses: actions-rs/cargo@v1
7276
with:
7377
command: clippy
74-
args: --workspace --all-targets --verbose -- --deny warnings
78+
args: --workspace --all-targets --verbose
7579
# - name: Check Dependencies
7680
# run: |
7781
# node ./scripts/check_rust_dependency.js

0 commit comments

Comments
 (0)