| 1 | name: Rust version |
| 2 | |
| 3 | on: |
| 4 | workflow_dispatch: |
| 5 | push: |
| 6 | branches: ["main", "features/**", "release-**"] |
| 7 | pull_request: |
| 8 | branches: ["main", "features/**", "release-**"] |
| 9 | |
| 10 | permissions: {} |
| 11 | |
| 12 | jobs: |
| 13 | msrv: |
| 14 | runs-on: ubuntu-latest |
| 15 | steps: |
| 16 | - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 |
| 17 | with: |
| 18 | persist-credentials: false |
| 19 | - uses: taiki-e/install-action@b550161ef8a7bc4f2a671c0b03a18ac9ccedea1e # cargo-hack |
| 20 | with: |
| 21 | tool: cargo-hack |
| 22 | - run: cargo hack check --rust-version --workspace --all-targets |