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