fix package workflow

This commit is contained in:
GyulyVGC
2025-04-18 23:43:49 +02:00
parent 1db05721cd
commit d217ddd27b

View File

@@ -72,16 +72,16 @@ jobs:
with:
targets: ${{ matrix.target }}
- name: Check crate
if: matrix.os == 'macos' || matrix.os == 'windows' || matrix.os == 'ubuntu' && matrix.arch == 'amd64'
run: cargo publish --dry-run --target ${{ matrix.target }}
- name: Clippy (release mode)
run: cargo clippy --release -- -D warnings
- name: Test (release mode)
run: cargo test --release --verbose -- --nocapture
- name: Check crate
if: matrix.os == 'macos' || matrix.os == 'windows' || matrix.os == 'ubuntu' && matrix.arch == 'amd64'
run: |
cargo publish --dry-run --target ${{ matrix.target }} &&
cargo test --release --verbose -- --nocapture &&
cargo clean
- name: Install Cross