name: Rust on: push: branches: - main pull_request: branches: - main env: CARGO_TERM_COLOR: always jobs: build: strategy: matrix: os: - ubuntu-latest - macos-latest - windows-latest runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - name: Set up cargo cache uses: actions/cache@v4 continue-on-error: false with: path: | ~/.cargo/bin/ ~/.cargo/registry/index/ ~/.cargo/registry/cache/ ~/.cargo/git/db/ target/ key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} restore-keys: ${{ runner.os }}-cargo- - name: Build run: cargo build --verbose - name: Run tests - frida run: cargo test --verbose # - name: Run tests - frida # if: runner.os == 'windows-latest' # run: cargo test --verbose --no-default-features --features dotnet