File tree Expand file tree Collapse file tree 7 files changed +69
-14
lines changed
Expand file tree Collapse file tree 7 files changed +69
-14
lines changed Original file line number Diff line number Diff line change @@ -3,15 +3,15 @@ updates:
33 - package-ecosystem : " gomod"
44 directory : " /"
55 schedule :
6- interval : " monthly "
6+ interval : " weekly "
77 labels :
88 - " dependencies"
99 commit-message :
1010 prefix : " build"
1111 - package-ecosystem : " github-actions"
1212 directory : " /"
1313 schedule :
14- interval : " monthly "
14+ interval : " weekly "
1515 labels :
1616 - " dependencies"
1717 commit-message :
Original file line number Diff line number Diff line change 66 - ' main'
77
88env :
9- GO_VERSION : ' 1.24.3 '
9+ GO_VERSION : ' 1.24.4 '
1010
1111jobs :
1212 changes :
1515 contents : read
1616 outputs :
1717 code : ${{ steps.filter.outputs.code }}
18+ deps : ${{ steps.filter.outputs.deps }}
1819 release : ${{ steps.filter.outputs.release }}
1920 workflows : ${{ steps.filter.outputs.workflows }}
2021 yml : ${{ steps.filter.outputs.yml }}
3536 - "main.go"
3637 - ".github/actions/**"
3738 - ".github/workflows/main.yml"
39+ deps:
40+ - "go.mod"
41+ - "go.sum"
42+ - ".github/workflows/main.yml"
3843 release:
3944 - ".goreleaser.yaml"
4045 - ".github/workflows/main.yml"
@@ -191,3 +196,18 @@ jobs:
191196 /var/tmp/hours_head --dbpath=/var/tmp/throwaway-with-data.db report 3d -p
192197 /var/tmp/hours_head --dbpath=/var/tmp/throwaway-with-data.db log 3d -p
193198 /var/tmp/hours_head --dbpath=/var/tmp/throwaway-with-data.db stats 3d -p
199+
200+ vulncheck :
201+ needs : changes
202+ if : ${{ needs.changes.outputs.deps == 'true' }}
203+ runs-on : ubuntu-latest
204+ steps :
205+ - uses : actions/checkout@v4
206+ - name : Set up Go
207+ uses : actions/setup-go@v5
208+ with :
209+ go-version : ${{ env.GO_VERSION }}
210+ - name : install govulncheck
211+ run : go install golang.org/x/vuln/cmd/govulncheck@latest
212+ - name : govulncheck
213+ run : govulncheck ./...
Original file line number Diff line number Diff line change 44 pull_request :
55
66env :
7- GO_VERSION : ' 1.24.3 '
7+ GO_VERSION : ' 1.24.4 '
88
99jobs :
1010 changes :
1313 pull-requests : read
1414 outputs :
1515 code : ${{ steps.filter.outputs.code }}
16+ deps : ${{ steps.filter.outputs.deps }}
1617 release : ${{ steps.filter.outputs.release }}
1718 workflows : ${{ steps.filter.outputs.workflows }}
1819 yml : ${{ steps.filter.outputs.yml }}
3334 - "main.go"
3435 - ".github/actions/**"
3536 - ".github/workflows/pr.yml"
37+ deps:
38+ - "go.mod"
39+ - "go.sum"
40+ - ".github/workflows/pr.yml"
3641 release:
3742 - ".goreleaser.yaml"
3843 - ".github/workflows/pr.yml"
@@ -190,3 +195,18 @@ jobs:
190195 /var/tmp/hours_head --dbpath=/var/tmp/throwaway-with-data.db report 3d -p
191196 /var/tmp/hours_head --dbpath=/var/tmp/throwaway-with-data.db log 3d -p
192197 /var/tmp/hours_head --dbpath=/var/tmp/throwaway-with-data.db stats 3d -p
198+
199+ vulncheck :
200+ needs : changes
201+ if : ${{ needs.changes.outputs.deps == 'true' }}
202+ runs-on : ubuntu-latest
203+ steps :
204+ - uses : actions/checkout@v4
205+ - name : Set up Go
206+ uses : actions/setup-go@v5
207+ with :
208+ go-version : ${{ env.GO_VERSION }}
209+ - name : install govulncheck
210+ run : go install golang.org/x/vuln/cmd/govulncheck@latest
211+ - name : govulncheck
212+ run : govulncheck ./...
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ permissions:
99 id-token : write
1010
1111env :
12- GO_VERSION : ' 1.24.3 '
12+ GO_VERSION : ' 1.24.4 '
1313
1414jobs :
1515 release :
Original file line number Diff line number Diff line change 1+ name : vulncheck
2+
3+ on :
4+ workflow_dispatch :
5+ schedule :
6+ - cron : ' 0 2 * * 2,6'
7+
8+ env :
9+ GO_VERSION : ' 1.24.4'
10+
11+ jobs :
12+ vulncheck :
13+ runs-on : ubuntu-latest
14+ steps :
15+ - uses : actions/checkout@v4
16+ - name : Set up Go
17+ uses : actions/setup-go@v5
18+ with :
19+ go-version : ${{ env.GO_VERSION }}
20+ - name : install govulncheck
21+ run : go install golang.org/x/vuln/cmd/govulncheck@latest
22+ - name : govulncheck
23+ run : govulncheck ./...
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11module github.com/dhth/hours
22
3- go 1.24.3
3+ go 1.24.4
44
55require (
66 github.com/charmbracelet/bubbles v0.21.0
You can’t perform that action at this time.
0 commit comments