File tree Expand file tree Collapse file tree 2 files changed +52
-0
lines changed
Expand file tree Collapse file tree 2 files changed +52
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Continuous deployment
2+ on :
3+ workflow_run :
4+ branches : [main]
5+ workflows : [Continuous integration]
6+ types : [completed]
7+
8+ jobs :
9+ release :
10+ runs-on : ubuntu-latest
11+ steps :
12+ - uses : actions-rs/toolchain@v1
13+ with :
14+ toolchain : stable
15+ target : wasm32-unknown-unknown
16+
17+ 18+ 19+
20+ - uses : actions/checkout@v2
21+
22+ - run : trunk build --release
23+
24+ - uses : peaceiris/actions-gh-pages@v3
25+ if : github.ref == 'refs/heads/main'
26+ with :
27+ github_token : $
28+ publish_dir : ./dist
Original file line number Diff line number Diff line change 1+ name : Continuous integration
2+ on : [push, pull_request]
3+
4+ jobs :
5+ test :
6+ runs-on : ubuntu-latest
7+
8+ steps :
9+ - uses : actions/checkout@v3
10+ - run : cargo test --all
11+
12+ format :
13+ runs-on : ubuntu-latest
14+
15+ steps :
16+ - uses : actions/checkout@v3
17+ - run : cargo fmt --all -- --check
18+
19+ clippy :
20+ runs-on : ubuntu-latest
21+
22+ steps :
23+ - uses : actions/checkout@v3
24+ - run : cargo clippy --all -- -D warnings
You can’t perform that action at this time.
0 commit comments