From 092b3e809b297f1ddda58d9586e9fadeb89c181f Mon Sep 17 00:00:00 2001 From: Liam Burnand Date: Mon, 1 Jan 2024 13:51:52 +0000 Subject: [PATCH] Adding nilaway.yaml for more checks --- .github/workflows/nilaway.yaml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/nilaway.yaml diff --git a/.github/workflows/nilaway.yaml b/.github/workflows/nilaway.yaml new file mode 100644 index 0000000..3cb9d53 --- /dev/null +++ b/.github/workflows/nilaway.yaml @@ -0,0 +1,20 @@ +name: nilaway +on: [push, pull_request] + +permissions: + contents: read + pull-requests: read + +jobs: + nilaway: + name: nilaway + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: WillAbides/setup-go-faster@v1 + with: + go-version: '1.21' + - name: download nilaway + run: go install go.uber.org/nilaway/cmd/nilaway@latest + - name: run nilaway + run: nilaway .