-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (36 loc) · 943 Bytes
/
main.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
name: Main workflow
on:
pull_request:
branches:
- main
push:
branches:
- main
jobs:
unit-test-frontend:
uses: ./.github/workflows/test-frontend.yaml
build-nextjs:
uses: ./.github/workflows/build-frontend.yaml
unit-test-notary:
needs: [build-nextjs]
uses: ./.github/workflows/test-notary.yaml
go-vet:
needs: [build-nextjs]
uses: ./.github/workflows/go-vet.yaml
go-lint:
needs: [build-nextjs]
uses: ./.github/workflows/go-lint.yaml
build-notary:
needs: [build-nextjs]
uses: ./.github/workflows/build-notary.yaml
rock-build:
needs: [build-notary, unit-test-notary, go-vet, go-lint]
uses: ./.github/workflows/build-rock.yaml
rock-scan:
if: github.ref_name == 'main'
needs: [rock-build]
uses: ./.github/workflows/scan-rock.yaml
publish:
if: github.ref_name == 'main'
needs: [rock-build]
uses: ./.github/workflows/publish-rock.yaml