Skip to content

Commit 28573fe

Browse files
committed
add CI config
1 parent a6be547 commit 28573fe

File tree

1 file changed

+43
-0
lines changed

1 file changed

+43
-0
lines changed

.github/workflows/digest-io.yml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
name: digest-io
2+
3+
on:
4+
pull_request:
5+
paths:
6+
- "digest-io/**"
7+
- "Cargo.*"
8+
push:
9+
branches: master
10+
11+
permissions:
12+
contents: read
13+
14+
defaults:
15+
run:
16+
working-directory: digest-io
17+
18+
env:
19+
CARGO_INCREMENTAL: 0
20+
RUSTFLAGS: "-Dwarnings"
21+
22+
jobs:
23+
minimal-versions:
24+
uses: RustCrypto/actions/.github/workflows/minimal-versions.yml@master
25+
with:
26+
working-directory: ${{ github.workflow }}
27+
28+
test:
29+
runs-on: ubuntu-latest
30+
strategy:
31+
matrix:
32+
rust:
33+
- 1.85.0 # MSRV
34+
- stable
35+
steps:
36+
- uses: actions/checkout@v4
37+
- uses: RustCrypto/actions/cargo-cache@master
38+
- uses: dtolnay/rust-toolchain@master
39+
with:
40+
toolchain: ${{ matrix.rust }}
41+
- run: cargo test --no-default-features
42+
- run: cargo test
43+
- run: cargo test --all-features

0 commit comments

Comments
 (0)