diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 0f26f6a..c4796f4 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -67,11 +67,11 @@ jobs: - name: Check clippy shell: bash run: | - cargo clippy --all-targets --all-features -- \ + cargo clippy --release --all-targets --all-features -- \ -D clippy::suspicious -D clippy::style -D clippy::complexity \ -D clippy::perf -D clippy::dbg_macro -D clippy::todo \ -D clippy::unimplemented -D warnings - name: Test if: always() && (matrix.os == 'ubuntu-latest' && matrix.target == 'x86_64-unknown-linux-gnu') || (matrix.os == 'windows-latest' && matrix.target == 'x86_64-pc-windows-msvc') || (matrix.os == 'macos-latest' && matrix.target == 'x86_64-apple-darwin') - run: cargo test --target ${{ matrix.target }} + run: cargo test --release --target ${{ matrix.target }} diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index ddb1b87..83c9709 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -71,11 +71,11 @@ jobs: - name: Check clippy shell: bash run: | - cargo clippy --all-targets --all-features -- \ + cargo clippy --release --all-targets --all-features -- \ -D clippy::suspicious -D clippy::style -D clippy::complexity \ -D clippy::perf -D clippy::dbg_macro -D clippy::todo \ -D clippy::unimplemented -D warnings - name: Test if: always() && (matrix.os == 'ubuntu-latest' && matrix.target == 'x86_64-unknown-linux-gnu') || (matrix.os == 'windows-latest' && matrix.target == 'x86_64-pc-windows-msvc') || (matrix.os == 'macos-latest' && matrix.target == 'x86_64-apple-darwin') - run: cargo test --target ${{ matrix.target }} + run: cargo test --release --target ${{ matrix.target }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 13d5cf9..a16fc8d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -74,7 +74,7 @@ jobs: - name: Check clippy run: | - cargo clippy --all-targets --all-features -- \ + cargo clippy --release --all-targets --all-features -- \ -D clippy::suspicious -D clippy::style -D clippy::complexity \ -D clippy::perf -D clippy::dbg_macro -D clippy::todo \ -D clippy::unimplemented -D warnings @@ -82,7 +82,7 @@ jobs: - name: Test if: (matrix.os == 'ubuntu-latest' && matrix.target == 'x86_64-unknown-linux-gnu') || (matrix.os == 'windows-latest' && matrix.target == 'x86_64-pc-windows-msvc') || (matrix.os == 'macos-latest' && matrix.target == 'x86_64-apple-darwin') - run: cargo test --target ${{ matrix.target }} + run: cargo test --release --target ${{ matrix.target }} - name: Rename Binary shell: bash