Skip to content

Commit 3d01b83

Browse files
ci: build/test Dependabot PRs
1 parent 94ccb3c commit 3d01b83

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.github/workflows/deps-ci.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: deps-ci
2+
on:
3+
pull_request:
4+
branches: [ main, master ]
5+
workflow_dispatch:
6+
7+
permissions:
8+
contents: read
9+
10+
jobs:
11+
go:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@v4
15+
- uses: actions/setup-go@v5
16+
with:
17+
go-version-file: 'go.mod'
18+
check-latest: true
19+
- run: go mod tidy
20+
- run: go build ./...
21+
- run: go test ./...
22+
- name: govulncheck (non-blocking)
23+
run: |
24+
go install golang.org/x/vuln/cmd/govulncheck@latest
25+
"$(go env GOPATH)/bin/govulncheck" ./... || true

0 commit comments

Comments
 (0)