Refactor detector ID handling in execute_detectors to use String dire… #180
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
toolchain: | |
- nightly | |
defaults: | |
run: | |
working-directory: . | |
steps: | |
- name: Setup Rust | |
uses: actions/checkout@v4.1.3 | |
- name: Update Rust | |
run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }} | |
- name: Install clippy nightly | |
run: rustup component add clippy-preview | |
- name: Install Cargo audit | |
run: cargo install cargo-audit | |
- name: Build | |
run: cargo build --verbose | |
- name: Test | |
run: cargo test --verbose | |
- name: Clippy | |
run: cargo clippy --verbose -- -D warnings | |
- name: Audit | |
run: cargo audit |