From d217ddd27ba772e74bf3fe1160531ee1d3cb062e Mon Sep 17 00:00:00 2001 From: GyulyVGC Date: Fri, 18 Apr 2025 23:43:49 +0200 Subject: [PATCH] fix package workflow --- .github/workflows/package.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/package.yml b/.github/workflows/package.yml index ec5282dd..381f897d 100644 --- a/.github/workflows/package.yml +++ b/.github/workflows/package.yml @@ -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