Skip to content

Commit f0f809b

Browse files
authored
Merge pull request #12 from BreadchainCoop/9-release-001
Release 0.0.1
2 parents c046493 + 82697cf commit f0f809b

File tree

15 files changed

+3902
-6210
lines changed

15 files changed

+3902
-6210
lines changed

.github/workflows/rust-ci.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: Rust CI
2+
3+
on:
4+
push:
5+
branches:
6+
- dev
7+
pull_request:
8+
branches:
9+
- dev
10+
11+
jobs:
12+
check:
13+
name: Format, Clippy, Check
14+
runs-on: ubuntu-latest
15+
steps:
16+
- name: Checkout
17+
uses: actions/checkout@v4
18+
19+
- name: Set up Rust toolchain
20+
uses: dtolnay/rust-toolchain@stable
21+
with:
22+
components: rustfmt, clippy
23+
24+
- name: Cache cargo builds
25+
uses: Swatinem/rust-cache@v2
26+
27+
- name: cargo fmt --check
28+
run: cargo fmt --all -- --check
29+
30+
- name: cargo clippy (deny warnings)
31+
run: cargo clippy --all-targets --all-features -- -D warnings
32+
33+
- name: cargo check (all targets)
34+
run: cargo check --all-targets --all-features
35+
36+

0 commit comments

Comments
 (0)