We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c43875d commit 817c8ecCopy full SHA for 817c8ec
.github/workflows/rust-ci.yml
@@ -1,11 +1,23 @@
1
name: Rust CI
2
-
3
on:
+ workflow_dispatch:
4
push:
5
branches: [main]
6
pull_request:
7
+env:
8
+ CARGO_TERM_COLOR: always
9
-# simplest example of using the rust-base action
10
jobs:
11
rust-base:
12
uses: init4tech/actions/.github/workflows/rust-base.yml@main
13
+ feature-checks:
14
+ name: Feature Checks
15
+ runs-on: ubuntu-latest
16
+ steps:
17
+ - uses: actions/checkout@v4
18
+ - uses: dtolnay/rust-toolchain@stable
19
+ - uses: Swatinem/rust-cache@v2
20
+ with:
21
+ cache-on-failure: true
22
+ - run: cargo clippy --all-targets --all-features
23
+ - run: cargo clippy --all-targets --no-default-features
0 commit comments