Skip to content

Commit 3d8a19a

Browse files
authored
ci: enable nilaway scans (#447)
Signed-off-by: Chris Gianelloni <[email protected]>
1 parent 0fcd761 commit 3d8a19a

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.github/workflows/nilaway.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: nilaway
2+
on:
3+
push:
4+
tags:
5+
- v*
6+
branches:
7+
- main
8+
pull_request:
9+
10+
permissions:
11+
contents: read
12+
13+
jobs:
14+
nilaway:
15+
name: nilaway
16+
runs-on: ubuntu-latest
17+
steps:
18+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 https://github.com/actions/checkout/releases/tag/v5.0.0
19+
- uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6.0.0 https://github.com/actions/setup-go/releases/tag/v6.0.0
20+
with:
21+
go-version: 1.25.x
22+
- name: install nilaway
23+
run: go install go.uber.org/nilaway/cmd/nilaway@latest
24+
- name: run nilaway
25+
run: nilaway ./...

0 commit comments

Comments
 (0)