feat: Write the full NPresult to file #887
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
| permissions: | |
| contents: read | |
| name: Build | |
| 'on': | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - main | |
| concurrency: | |
| group: '${{ github.workflow }}-${{ github.ref }}' | |
| cancel-in-progress: true | |
| env: | |
| CARGO_TERM_COLOR: always | |
| jobs: | |
| test: | |
| runs-on: '${{ matrix.os }}' | |
| name: '${{ matrix.os }} / stable' | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: | |
| - ubuntu-latest | |
| - macos-latest | |
| - windows-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v6 | |
| - name: Install Rust toolchain | |
| uses: dtolnay/rust-toolchain@stable | |
| with: | |
| components: rustfmt, clippy | |
| - name: Setup cache | |
| uses: actions/cache@v5 | |
| with: | |
| path: | | |
| ~/.cargo/registry | |
| ~/.cargo/git | |
| target | |
| key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} | |
| - name: Check formatting | |
| run: cargo fmt --all -- --check | |
| - name: Build (no features) | |
| run: cargo build --verbose --no-default-features | |
| - name: Build (default features) | |
| run: cargo build --verbose | |
| - name: Build (all features) | |
| run: cargo build --verbose --all-features | |
| - name: Run tests (no features) | |
| run: cargo test --verbose --no-default-features | |
| - name: Run tests (default features) | |
| run: cargo test --verbose | |
| - name: Run tests (all features) | |
| run: cargo test --verbose --all-features | |
| - name: Run doc tests | |
| run: cargo test --doc --all-features |