diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 6ea8cabf..105ff57d 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -100,8 +100,6 @@ jobs: runs-on: ubuntu-latest permissions: contents: read - env: - NO_FIRMWARE_BIN=true steps: - uses: actions/checkout@v4 - name: Check formatting @@ -112,13 +110,13 @@ jobs: npm install npm run build popd - cargo check --verbose --no-default-features --features=${{ matrix.device.name }} + NO_FIRMWARE_BIN=true cargo check --verbose --no-default-features --features=${{ matrix.device.name }} - name: Run tests run: | - cargo test --verbose --no-default-features --features=${{ matrix.device.name }} + NO_FIRMWARE_BIN=true cargo test --verbose --no-default-features --features=${{ matrix.device.name }} - name: Run clippy run: | - cargo clippy --verbose --no-default-features --features=${{ matrix.device.name }} + NO_FIRMWARE_BIN=true cargo clippy --verbose --no-default-features --features=${{ matrix.device.name }} windows_installer_check_and_test: needs: files_changed @@ -126,20 +124,18 @@ jobs: runs-on: windows-latest permissions: contents: read - env: - NO_FIRMWARE_BIN=true steps: - uses: actions/checkout@v4 - name: cargo check shell: bash run: | cd installer - cargo check --verbose + NO_FIRMWARE_BIN=true cargo check --verbose - name: cargo test shell: bash run: | cd installer - cargo test --verbose --no-default-features + NO_FIRMWARE_BIN=true cargo test --verbose --no-default-features build_rayhunter_check: if: needs.files_changed.outputs.daemon_changed != '0'