Skip to content

Commit

Permalink
git diff file matching for go mod/sum
Browse files Browse the repository at this point in the history
  • Loading branch information
toteki committed Nov 30, 2023
1 parent c2985d3 commit d3c768c
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/govulncheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ jobs:
with:
PATTERNS: |
**/**.go
FILES: |
go.mod
go.sum
- uses: golang/[email protected]
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/simulations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ jobs:
with:
PATTERNS: |
**/**.go
FILES: |
go.mod
go.sum
- uses: actions/setup-go@v4
Expand All @@ -58,6 +59,7 @@ jobs:
with:
PATTERNS: |
**/**.go
FILES: |
go.mod
go.sum
- uses: actions/setup-go@v4
Expand Down Expand Up @@ -87,6 +89,7 @@ jobs:
with:
PATTERNS: |
**/**.go
FILES: |
go.mod
go.sum
- uses: actions/setup-go@v4
Expand Down Expand Up @@ -115,6 +118,7 @@ jobs:
with:
PATTERNS: |
**/**.go
FILES: |
go.mod
go.sum
- uses: actions/setup-go@v4
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ jobs:
with:
PATTERNS: |
**/**.go
FILES: |
go.mod
go.sum
- name: Setup go
Expand All @@ -71,6 +72,7 @@ jobs:
with:
PATTERNS: |
**/**.go
FILES: |
go.mod
go.sum
- uses: actions/setup-go@v4
Expand Down Expand Up @@ -102,6 +104,7 @@ jobs:
with:
PATTERNS: |
**/**.go
FILES: |
go.mod
go.sum
- uses: actions/setup-go@v4
Expand All @@ -127,6 +130,7 @@ jobs:
with:
PATTERNS: |
**/**.go
FILES: |
go.mod
go.sum
Expand Down

0 comments on commit d3c768c

Please sign in to comment.