fix: support run verification on async context #88
Workflow file for this run
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 | |
| on: | |
| push: | |
| branches: ["main"] | |
| pull_request: | |
| branches: ["main"] | |
| env: | |
| CARGO_TERM_COLOR: always | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| feature: [eu_vat, gb_vat, ch_vat, no_vat] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Format check | |
| run: cargo fmt --all --check | |
| - name: Check | |
| run: cargo check --verbose --no-default-features --features ${{ matrix.feature }} | |
| - name: Clippy | |
| run: cargo clippy --verbose --no-default-features --features ${{ matrix.feature }} | |
| - name: Build | |
| run: cargo build --verbose --no-default-features --features ${{ matrix.feature }} | |
| - name: Run tests | |
| run: cargo test --verbose --no-default-features --features ${{ matrix.feature }} |