Skip to content

Commit f378d94

Browse files
authored
Merge pull request #32 from tamird/add-github-action
Add github action
2 parents 92e5d59 + 0801c52 commit f378d94

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

.github/workflows/rust.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
on: [push, pull_request]
2+
3+
name: Continuous integration
4+
5+
jobs:
6+
test:
7+
name: Test Suite
8+
runs-on: ubuntu-latest
9+
strategy:
10+
matrix:
11+
rust:
12+
- stable
13+
- beta
14+
- nightly
15+
- 1.36.0 # MSRV
16+
17+
steps:
18+
- uses: actions/checkout@v3
19+
20+
- name: Install rust nightly
21+
uses: dtolnay/rust-toolchain@master
22+
with:
23+
toolchain: ${{ matrix.rust }}
24+
25+
- uses: taiki-e/install-action@v2
26+
with:
27+
tool: cargo-hack
28+
29+
- run: cargo hack build --feature-powerset --all-targets
30+
- run: cargo hack test --feature-powerset --all-targets

0 commit comments

Comments
 (0)