-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (36 loc) · 937 Bytes
/
govulncheck.yml
File metadata and controls
39 lines (36 loc) · 937 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: govulncheck
on:
push:
branches: [master, main]
pull_request:
branches: [master, main]
schedule:
- cron: '0 6 * * *'
permissions:
contents: read
jobs:
govulncheck:
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- name: Checkout this repo
uses: actions/checkout@v4
with:
path: worker
- name: Checkout sibling InstaNode-dev/common
uses: actions/checkout@v4
with:
repository: InstaNode-dev/common
path: common
- name: Checkout sibling InstaNode-dev/proto
uses: actions/checkout@v4
with:
repository: InstaNode-dev/proto
path: proto
- uses: actions/setup-go@v5
with:
go-version-file: worker/go.mod
check-latest: true
- run: go install golang.org/x/vuln/cmd/govulncheck@latest
- working-directory: worker
run: govulncheck ./...