-
Notifications
You must be signed in to change notification settings - Fork 6
57 lines (44 loc) · 1.05 KB
/
default-pipeline.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
name: default-pipeline
on:
pull_request:
types: [ opened, synchronize, reopened ]
env:
CARGO_TERM_COLOR: always
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
permissions:
contents: read
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: (checkout) source code
uses: actions/checkout@v3
- name: (run) lint
uses: ./.github/actions/lint
with:
github-token: ${{ env.GITHUB_TOKEN }}
use-cache: true
test:
runs-on: ubuntu-latest
steps:
- name: (checkout) source code
uses: actions/checkout@v3
- name: (run) test
uses: ./.github/actions/test
with:
github-token: ${{ env.GITHUB_TOKEN }}
use-cache: true
build:
strategy:
matrix:
os: [ ubuntu-latest, macos-latest ]
runs-on: ${{ matrix.os }}
steps:
- name: (checkout) source code
uses: actions/checkout@v3
- name: (run) build
uses: ./.github/actions/build
with:
os: ${{ matrix.os }}
use-cache: true
github-token: ${{ env.GITHUB_TOKEN }}