Skip to content

Commit dd4ba82

Browse files
authored
Workflows: Trigger all Build & Test on all branches & files
#4192 (comment)
1 parent 0658c95 commit dd4ba82

File tree

3 files changed

+7
-36
lines changed

3 files changed

+7
-36
lines changed

.github/workflows/release-win7.yml

+6-12
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,18 @@
11
name: Build and Release for Windows 7
22

3+
# NOTE: This Github Actions file depends on the Makefile.
4+
# Building the correct package requires the correct binaries generated by the Makefile. To
5+
# ensure the correct output, the Makefile must accept the appropriate input and compile the
6+
# correct file with the correct name. If you need to modify this file, please ensure it won't
7+
# disrupt the Makefile.
8+
39
on:
410
workflow_dispatch:
511
release:
612
types: [published]
713
push:
8-
branches:
9-
- main
10-
paths:
11-
# - "**/*.go"
12-
- "go.mod"
13-
- "go.sum"
14-
- ".github/workflows/release-win7.yml"
1514
pull_request:
1615
types: [opened, synchronize, reopened]
17-
paths:
18-
# - "**/*.go"
19-
- "go.mod"
20-
- "go.sum"
21-
- ".github/workflows/release-win7.yml"
2216

2317
jobs:
2418
prepare:

.github/workflows/release.yml

+1-12
Original file line numberDiff line numberDiff line change
@@ -11,20 +11,9 @@ on:
1111
release:
1212
types: [published]
1313
push:
14-
branches:
15-
- main
16-
paths:
17-
- "**/*.go"
18-
- "go.mod"
19-
- "go.sum"
20-
- ".github/workflows/release.yml"
2114
pull_request:
2215
types: [opened, synchronize, reopened]
23-
paths:
24-
- "**/*.go"
25-
- "go.mod"
26-
- "go.sum"
27-
- ".github/workflows/release.yml"
16+
2817
jobs:
2918
prepare:
3019
runs-on: ubuntu-latest

.github/workflows/test.yml

-12
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,8 @@ name: Test
22

33
on:
44
push:
5-
branches:
6-
- main
7-
paths:
8-
- "**/*.go"
9-
- "go.mod"
10-
- "go.sum"
11-
- ".github/workflows/*.yml"
125
pull_request:
136
types: [opened, synchronize, reopened]
14-
paths:
15-
- "**/*.go"
16-
- "go.mod"
17-
- "go.sum"
18-
- ".github/workflows/*.yml"
197

208
jobs:
219
test:

0 commit comments

Comments
 (0)