去除lint action

This commit is contained in:
lwch
2022-08-03 18:28:15 +08:00
parent 892bc0bcbd
commit eb0d12a387

View File

@@ -1,31 +0,0 @@
name: code lint
on:
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
- ubuntu-latest
go:
- '1.17'
- '1.18'
- '1.19'
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go }}
- name: Lint
run: |
go install golang.org/x/lint/golint@latest
golint -set_exit_status ./...
go install github.com/gordonklaus/ineffassign@latest
ineffassign ./...