Skip to content

build(deps): bump sha1 from 0.10.5 to 0.10.6 (#155) #251

build(deps): bump sha1 from 0.10.5 to 0.10.6 (#155)

build(deps): bump sha1 from 0.10.5 to 0.10.6 (#155) #251

Workflow file for this run

name: spake2
on:
pull_request:
paths:
- "spake2/**"
- "Cargo.*"
push:
branches: master
defaults:
run:
working-directory: spake2
env:
CARGO_INCREMENTAL: 0
RUSTFLAGS: "-Dwarnings"
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
rust:
- 1.60.0 # MSRV
- stable
target:
- thumbv7em-none-eabi
- wasm32-unknown-unknown
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.rust }}
targets: ${{ matrix.target }}
- run: cargo build --target ${{ matrix.target }} --release --no-default-features
test:
runs-on: ubuntu-latest
strategy:
matrix:
rust:
- 1.60.0 # MSRV
- stable
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.rust }}
- run: cargo test --release
- run: cargo test --release --all-features