File tree Expand file tree Collapse file tree 2 files changed +14
-6
lines changed Expand file tree Collapse file tree 2 files changed +14
-6
lines changed Original file line number Diff line number Diff line change 1
1
name : Build and Deploy
2
2
3
- on : [push, pull_request]
3
+ on :
4
+ push :
5
+ branches : [main]
6
+ pull_request :
7
+ branches : [main]
4
8
5
9
jobs :
6
10
build-and-deploy :
20
24
- name : Set up Go
21
25
uses : actions/setup-go@v5
22
26
with :
23
- go-version-file : ' go.mod'
27
+ go-version-file : " go.mod"
24
28
25
29
- name : Set up QEMU
26
30
uses : docker/setup-qemu-action@v3
Original file line number Diff line number Diff line change 1
1
name : verify
2
2
3
- on : [push, pull_request]
3
+ on :
4
+ push :
5
+ branches : [main]
6
+ pull_request :
7
+ branches : [main]
4
8
5
9
jobs :
6
10
lint :
11
15
- name : Set up Go
12
16
uses : actions/setup-go@v5
13
17
with :
14
- go-version-file : ' go.mod'
18
+ go-version-file : " go.mod"
15
19
16
20
- name : Install ShellCheck and shfmt
17
21
run : |
44
48
- name : Set up Go
45
49
uses : actions/setup-go@v5
46
50
with :
47
- go-version-file : ' go.mod'
51
+ go-version-file : " go.mod"
48
52
49
53
- name : verify go.mod/go.sum
50
54
run : |
60
64
- uses : dorny/paths-filter@v2
61
65
id : changes
62
66
with :
63
- base : ' main'
67
+ base : " main"
64
68
filters : |
65
69
md:
66
70
- 'README.md'
You can’t perform that action at this time.
0 commit comments