-
Notifications
You must be signed in to change notification settings - Fork 0
41 lines (37 loc) · 927 Bytes
/
cicd.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
name: "CI/CD"
on:
- push
- pull_request
jobs:
lint:
name: lint
uses: wolcomm/.github/.github/workflows/rust-lint.yml@master
test:
name: test
strategy:
fail-fast: false
matrix:
toolchain: [stable, nightly]
args:
- --lib
- --test versions
# TODO: exclude until crate has stabilised
# - --test prefix-sets
- --test prefix-set-proptests
include:
- toolchain: nightly
args: --doc
uses: wolcomm/.github/.github/workflows/rust-test.yml@master
with:
toolchain: ${{ matrix.toolchain }}
args: ${{ matrix.args }}
secrets: inherit
publish:
name: publish
if: ${{ github.event_name == 'push' &&
startsWith(github.ref, 'refs/tag') }}
needs:
- lint
- test
uses: wolcomm/.github/.github/workflows/rust-publish.yml@master
secrets: inherit