-
Notifications
You must be signed in to change notification settings - Fork 105
46 lines (38 loc) · 1.04 KB
/
PR.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
name: PR
on:
pull_request:
branches: [master, vara-stage-1, vara-stage-2, vara-stage-3]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
env:
CARGO_INCREMENTAL: 0
CARGO_TERM_COLOR: always
RUST_BACKTRACE: short
TERM: xterm-256color
BINARYEN_VERSION: version_111
jobs:
status:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
- run: npm install
working-directory: .github/actions/message
- name: Configure
id: config
uses: ./.github/actions/message
check:
needs: status
if: ${{ needs.status.outputs.check }}
uses: ./.github/workflows/check.yml
with:
cache: ${{ needs.status.steps.config.outputs.cache }}
build:
needs: status
if: ${{ needs.status.outputs.build }}
uses: ./.github/workflows/build.yml
with:
cache: ${{ needs.status.steps.config.outputs.cache }}
macos: ${{ needs.status.steps.config.outputs.macos }}