]> git.lizzy.rs Git - PAKEs.git/blob - .github/workflows/spake2.yml
e3b6c0c5a9beb27c93091fa763fc4fc060a1bdf4
[PAKEs.git] / .github / workflows / spake2.yml
1 name: spake2
2
3 on:
4   pull_request:
5     paths:
6       - "spake2/**"
7       - "Cargo.*"
8   push:
9     branches: master
10
11 defaults:
12   run:
13     working-directory: spake2
14
15 env:
16   CARGO_INCREMENTAL: 0
17   RUSTFLAGS: "-Dwarnings"
18
19 jobs:
20   test:
21     runs-on: ubuntu-latest
22     strategy:
23       matrix:
24         rust:
25           - 1.56.0 # MSRV
26           - stable
27     steps:
28       - uses: actions/checkout@v2
29       - uses: actions-rs/toolchain@v1
30         with:
31           toolchain: ${{ matrix.rust }}
32           override: true
33           profile: minimal
34       - run: cargo test --release