lookup dechunker #70
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 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup Git Credentials via gh CLI | |
| env: | |
| GH_TOKEN: ${{ secrets.GH_TOKEN }} | |
| run: | | |
| # Configure git to use gh as a credential helper for https://github.com | |
| gh auth setup-git | |
| - name: Check formatting | |
| env: | |
| GH_TOKEN: ${{ secrets.GH_TOKEN }} | |
| run: cargo fmt --all -- --check | |
| - name: Run Clippy (fail on warnings) | |
| env: | |
| GH_TOKEN: ${{ secrets.GH_TOKEN }} | |
| run: cargo clippy --all-targets --all-features -- -D warnings | |
| - name: Run tests | |
| env: | |
| GH_TOKEN: ${{ secrets.GH_TOKEN }} | |
| run: cargo test --verbose |