Skip to content

Commit af06f15

Browse files
diemogebhardtlpil
authored andcommitted
Add a lint and build step to GitHub workflow for CI
1 parent d1f9e57 commit af06f15

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.github/workflows/ci.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,3 +63,22 @@ jobs:
6363

6464
- name: Check formatting
6565
run: cargo fmt --all -- --check
66+
67+
lint-build:
68+
name: lint-build
69+
runs-on: ubuntu-latest
70+
timeout-minutes: 10
71+
steps:
72+
- name: Checkout repository
73+
uses: actions/checkout@v4
74+
75+
- name: Install Rust toolchain
76+
uses: dtolnay/rust-toolchain@stable
77+
with:
78+
toolchain: stable
79+
components: clippy
80+
81+
- name: Run linter
82+
run: cargo clippy --workspace
83+
84+
- run: cargo build

0 commit comments

Comments
 (0)