From 19ba6a9d2bde707cd5399b0de3b5963b31705368 Mon Sep 17 00:00:00 2001 From: Chris Gianelloni Date: Thu, 18 Sep 2025 13:56:32 -0400 Subject: [PATCH] ci: enable nilaway scans Signed-off-by: Chris Gianelloni --- .github/workflows/nilaway.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/nilaway.yml diff --git a/.github/workflows/nilaway.yml b/.github/workflows/nilaway.yml new file mode 100644 index 0000000..ff73622 --- /dev/null +++ b/.github/workflows/nilaway.yml @@ -0,0 +1,25 @@ +name: nilaway +on: + push: + tags: + - v* + branches: + - main + pull_request: + +permissions: + contents: read + +jobs: + nilaway: + name: nilaway + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 https://github.com/actions/checkout/releases/tag/v5.0.0 + - uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6.0.0 https://github.com/actions/setup-go/releases/tag/v6.0.0 + with: + go-version: 1.25.x + - name: install nilaway + run: go install go.uber.org/nilaway/cmd/nilaway@latest + - name: run nilaway + run: nilaway ./...