build(cargo): fix sha2 no_std #342
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 |