Merge pull request #210 from codahale/dependabot/cargo/clap-4.4.3 #1461
This file contains 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 CI | |
on: | |
push: | |
branches: | |
- "main" | |
pull_request: | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
rust: | |
- stable | |
- beta | |
steps: | |
- uses: actions/checkout@v4 | |
name: "Checkout source" | |
- uses: actions-rs/[email protected] | |
name: "Install Rust" | |
with: | |
profile: default | |
toolchain: ${{ matrix.rust }} | |
override: true | |
- uses: Swatinem/rust-cache@v2 | |
name: "Cache dependencies" | |
- uses: actions-rs/[email protected] | |
name: "Build, test, and check" | |
with: | |
command: xtask | |
args: ci |