Skip to content

Commit af999a0

Browse files
Merge pull request #6 from cyclone-github/chore/deps-ci
ci: build/test Dependabot PRs
2 parents 3826d0b + 3d01b83 commit af999a0

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)