feat: allow multiple assets #1
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: Pull Request Checks | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| - dev | |
| jobs: | |
| build-and-test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| # Checkout the repository | |
| - name: Checkout code | |
| uses: actions/checkout@v3 | |
| # Install Rust toolchain | |
| - name: Install Rust | |
| uses: actions-rs/toolchain@v1 | |
| with: | |
| profile: minimal | |
| toolchain: stable | |
| override: true | |
| # Install nextest | |
| - name: Install cargo-nextest | |
| uses: taiki-e/install-action@cargo-nextest | |
| # Run Clippy (linting) | |
| - name: Run Clippy | |
| run: cargo clippy --all-targets -- -D warnings | |
| # Check code formatting | |
| - name: Check formatting | |
| run: cargo fmt --all --check | |
| # Run tests with cargo-nextest | |
| - name: Run Tests | |
| run: cargo nextest run |