forked from awslabs/amazon-eks-ami
-
Notifications
You must be signed in to change notification settings - Fork 0
45 lines (45 loc) · 1.04 KB
/
ci-auto.yaml
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: "[CI] Auto"
on:
pull_request:
types:
- opened
- reopened
- synchronize
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: echo "$(go env GOPATH)/bin" >> $GITHUB_PATH
- run: go install mvdan.cc/sh/v3/cmd/shfmt@latest
- run: make lint
templates-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: make test
nodeadm-build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: cd nodeadm && make build
nodeadm-check-generate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: hack/nodeadm-check-generate.sh
nodeadm-check-vendor:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: hack/nodeadm-check-vendor.sh
nodeadm-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: cd nodeadm && make test
nodeadm-test-e2e:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: cd nodeadm && make test-e2e