File tree Expand file tree Collapse file tree 3 files changed +17
-4
lines changed
Expand file tree Collapse file tree 3 files changed +17
-4
lines changed Original file line number Diff line number Diff line change 1616 - uses : Swatinem/rust-cache@v2
1717 - name : Build
1818 shell : bash
19- run : if [ "${{ inputs.toolchain }}" != stable ]; then rm -fv Cargo.lock; fi && cargo build --all-features --verbose
19+ run : |
20+ if [ "${{ inputs.toolchain }}" != stable ]; then
21+ rm -fv Cargo.lock
22+ fi
23+ cargo build --all-features --verbose
24+ cargo build --all-features --verbose --example simple
2025 - name : Run tests
2126 shell : bash
2227 run : cargo test --all-features --verbose
Original file line number Diff line number Diff line change 2222 working-directory : decoder
2323 shell : bash
2424 run : cargo test --all-features --verbose
25+ - name : Upload artifact for testing
26+ uses : actions/upload-artifact@v4
27+ with :
28+ name : pollcatch-decoder
29+ path : ./decoder/target/debug/pollcatch-decoder
Original file line number Diff line number Diff line change 77 strategy :
88 matrix :
99 toolchain :
10+ - stable # Stable is first to test with Cargo.lock
1011 - " 1.85" # Current MSRV due to Cargo MSRV feature
11- - stable
1212 env :
1313 RUST_BACKTRACE : 1
1414 steps :
1717 uses : ./.github/actions/rust-build
1818 with :
1919 toolchain : ${{ matrix.toolchain }}
20-
21-
20+ - name : Upload artifact for testing
21+ uses : actions/upload-artifact@v4
22+ with :
23+ name : example-simple
24+ path : ./target/debug/example/simple
You can’t perform that action at this time.
0 commit comments