File tree Expand file tree Collapse file tree 3 files changed +60
-2
lines changed Expand file tree Collapse file tree 3 files changed +60
-2
lines changed Original file line number Diff line number Diff line change 1+ changelog :
2+ categories :
3+ - title : 🚀 New Features
4+ labels :
5+ - feature
6+ - title : 📄 New Documentation
7+ labels :
8+ - documentation
9+ - title : 🐛 Bug Fixes
10+ labels :
11+ - bug
12+ - title : 🔧 Refactoring
13+ labels :
14+ - refactor
15+ - title : ✅ Changes to GitHub Actions
16+ labels :
17+ - actions
18+ - title : 🎉 Changes for Release
19+ labels :
20+ - release
21+ - title : Other Changes
22+ labels :
23+ - " *"
Original file line number Diff line number Diff line change 1+ name : cargo publish
2+
3+ on :
4+ release :
5+ types :
6+ - published
7+
8+ jobs :
9+ build :
10+ runs-on : ubuntu-latest
11+
12+ steps :
13+ - uses : actions/checkout@v2
14+
15+ - name : login
16+ run : cargo login ${{ secrets.CARGO_TOKEN }}
17+
18+ - name : publish
19+ run : cargo publish
Original file line number Diff line number Diff line change @@ -2,11 +2,18 @@ name: Rust
22
33on :
44 pull_request :
5- branches :
6- - develop
5+ paths :
6+ - .github/workflows/rust.yml
7+ - " **.toml"
8+ - " **.rs"
9+
710 push :
811 branches :
912 - develop
13+ paths :
14+ - .github/workflows/rust.yml
15+ - " **.toml"
16+ - " **.rs"
1017
1118jobs :
1219 build :
3744 - name : Run tests
3845 run : cargo test --verbose --tests
3946 continue-on-error : ${{ matrix.rust == 'nightly' }}
47+
48+ - name : Build for examples
49+ run : cargo build --verbose
50+ working-directory : examples
51+
52+ - name : Run tests for examples
53+ run : cargo test --verbose --tests
54+ continue-on-error : ${{ matrix.rust == 'nightly' }}
55+ working-directory : examples
You can’t perform that action at this time.
0 commit comments