Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 5 additions & 9 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -112,34 +110,32 @@ 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
if: needs.files_changed.outputs.installer_changed != '0'
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'
Expand Down