-
Notifications
You must be signed in to change notification settings - Fork 16
70 lines (55 loc) · 1.52 KB
/
canary.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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
name: canary
on:
schedule:
- cron: '4 20 * * SUN'
pull_request:
paths:
- .github/workflows/canary.yml
jobs:
check-and-test-1:
name: "check and test"
uses: ./.github/workflows/_check.yml
with: { os: windows-latest, rust: stable }
check-and-test-2:
name: "check and test"
uses: ./.github/workflows/_check.yml
with: { os: macos-latest, rust: stable }
check-and-test-3:
name: "check and test"
uses: ./.github/workflows/_check.yml
with: { os: ubuntu-latest, rust: beta }
check-and-test-4:
name: "check and test"
uses: ./.github/workflows/_check.yml
with: { os: windows-latest, rust: beta }
check-and-test-5:
name: "check and test"
uses: ./.github/workflows/_check.yml
with: { os: macos-latest, rust: beta }
docker:
uses: ./.github/workflows/_docker.yml
clippy:
uses: ./.github/workflows/_clippy.yml
with: { os: ubuntu-latest, rust: beta }
udeps:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly
override: true
- name: Install Protoc
uses: arduino/setup-protoc@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
- uses: actions-rs/cargo@v1
with:
command: install
args: --force cargo-udeps
- uses: actions-rs/cargo@v1
with:
command: ci-udeps
check-all-features:
uses: ./.github/workflows/_features.yml