autobrr/.github/workflows/golang-linter.yml
ze0s 8156c8d66e
chore(deps): upgrade to Go v1.22 and deps (#1423)
* chore(deps): upgrade go to v1.22 and deps

* chore(deps): upgrade workflow go to v1.22
2024-02-22 14:33:50 +01:00

34 lines
749 B
YAML

name: Golang linters
on:
push:
branches:
- "master"
- "develop"
tags:
- 'v*'
pull_request:
jobs:
nilaway:
name: Nilaway Linter
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.22.0'
cache: true
- name: Install Nilaway
run: go install go.uber.org/nilaway/cmd/nilaway@latest
- name: Nilaway
# This will fail for a while. Lots of work needs to go in to resolve the callsites.
# Long-term the bypass below should be removed.
continue-on-error: true
run: nilaway ./...