-
-
Notifications
You must be signed in to change notification settings - Fork 355
31 lines (27 loc) · 696 Bytes
/
build.yml
File metadata and controls
31 lines (27 loc) · 696 Bytes
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
name: Build Check
on:
push:
branches:
- main
pull_request:
types: [opened, synchronize, reopened]
workflow_dispatch:
jobs:
lint:
name: Lint
if: github.event_name == 'pull_request' || github.event_name == 'push'
uses: ./.github/workflows/re-lint.yml
secrets: inherit
test:
name: Test
if: github.event_name == 'pull_request' || github.event_name == 'push'
uses: ./.github/workflows/re-test.yml
secrets: inherit
build:
name: Build
if: github.event_name == 'pull_request' || github.event_name == 'push'
needs: [lint, test]
uses: ./.github/workflows/re-build.yml
with:
upload-artifacts: true
secrets: inherit