-
-
Notifications
You must be signed in to change notification settings - Fork 32
31 lines (29 loc) · 910 Bytes
/
test.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
name: test
on:
pull_request:
branches: [master]
paths-ignore: [".gitignore", "**/*.md", ".github/ISSUE_TEMPLATE/**"]
types: [opened, edited, reopened, synchronize, unlocked]
push:
branches: [master]
paths-ignore: [".gitignore", "**/*.md", ".github/ISSUE_TEMPLATE/**"]
jobs:
go-test:
uses: lrstanley/.github/.github/workflows/lang-go-test-matrix.yml@master
with:
go-version: latest
go-lint:
uses: lrstanley/.github/.github/workflows/lang-go-lint.yml@master
secrets:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
go-build:
needs: [go-test, go-lint]
uses: lrstanley/.github/.github/workflows/lang-go-release.yml@master
with:
has-ghcr: true
upload-artifacts: true
docker-test:
needs: [go-test, go-lint]
uses: lrstanley/.github/.github/workflows/docker-release.yml@master
secrets:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}