Skip to content

Commit 817c8ec

Browse files
committed
feat(ci): feature checks
Adds feature checks to CI. Closes ENG-835
1 parent c43875d commit 817c8ec

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

.github/workflows/rust-ci.yml

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,23 @@
11
name: Rust CI
2-
32
on:
3+
workflow_dispatch:
44
push:
55
branches: [main]
66
pull_request:
7+
env:
8+
CARGO_TERM_COLOR: always
79

8-
# simplest example of using the rust-base action
910
jobs:
1011
rust-base:
1112
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

Comments
 (0)