Use the sanctions set passed in as arg to builder function (#193) #295
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: Rust Tests | |
| on: | |
| pull_request: | |
| branches: [ main ] | |
| types: [ready_for_review, opened, synchronize, reopened] | |
| push: | |
| branches: [ main ] | |
| jobs: | |
| test: | |
| if: github.event.pull_request.draft == false | |
| name: Rust tests | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Set up Rust | |
| uses: actions-rs/toolchain@v1 | |
| with: | |
| toolchain: stable | |
| - name: Run tests | |
| run: cargo test --release |