File tree Expand file tree Collapse file tree 4 files changed +32
-39
lines changed Expand file tree Collapse file tree 4 files changed +32
-39
lines changed Original file line number Diff line number Diff line change 1- name : Rust CI
1+ name : Build, Lint, Test
22
33on :
44 push :
77 pull_request :
88
99jobs :
10- build :
11- runs-on : ubuntu-latest
12-
13- steps :
14- - name : Checkout code
15- uses : actions/checkout@v2
16-
17- - name : Setup Rust
18- uses : actions-rs/toolchain@v1
19- with :
20- toolchain : stable
21-
22- - name : Install dependencies
23- run : cargo build --verbose
24-
25- - name : Run tests
26- run : cargo test --verbose
27-
28- lint-and-format :
10+ build-test-lint :
2911 runs-on : ubuntu-latest
3012
3113 steps :
4527
4628 - name : Check formatting
4729 run : cargo fmt -- --check
30+
31+ - name : Run tests
32+ run : cargo test --verbose
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ name : Release
2+
3+ permissions :
4+ pull-requests : write
5+ contents : write
6+
7+ on :
8+ push :
9+ branches :
10+ - main
11+
12+ jobs :
13+ release-plz :
14+ name : Release-plz
15+ runs-on : ubuntu-latest
16+ steps :
17+ - name : Checkout repository
18+ uses : actions/checkout@v4
19+ with :
20+ fetch-depth : 0
21+ - name : Install Rust toolchain
22+ uses : dtolnay/rust-toolchain@stable
23+ - name : Run release-plz
24+ uses : MarcoIeni/release-plz-action@v0.5
25+ env :
26+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
27+ CARGO_REGISTRY_TOKEN : ${{ secrets.CARGO_REGISTRY_TOKEN }}
Original file line number Diff line number Diff line change 1- # Changelog
You can’t perform that action at this time.
0 commit comments