aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/srp.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/srp.yml')
-rw-r--r--.github/workflows/srp.yml34
1 files changed, 34 insertions, 0 deletions
diff --git a/.github/workflows/srp.yml b/.github/workflows/srp.yml
new file mode 100644
index 0000000..d66d135
--- /dev/null
+++ b/.github/workflows/srp.yml
@@ -0,0 +1,34 @@
+name: srp
+
+on:
+ pull_request:
+ paths:
+ - "srp/**"
+ - "Cargo.*"
+ push:
+ branches: master
+
+defaults:
+ run:
+ working-directory: srp
+
+env:
+ CARGO_INCREMENTAL: 0
+ RUSTFLAGS: "-Dwarnings"
+
+jobs:
+ test:
+ runs-on: ubuntu-latest
+ strategy:
+ matrix:
+ rust:
+ - 1.41.0 # MSRV
+ - stable
+ steps:
+ - uses: actions/checkout@v2
+ - uses: actions-rs/toolchain@v1
+ with:
+ toolchain: ${{ matrix.rust }}
+ override: true
+ profile: minimal
+ - run: cargo test --release