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 .