mirror of
https://github.com/jkstack/libagent.git
synced 2025-12-24 12:11:57 +08:00
去除lint action
This commit is contained in:
31
.github/workflows/lint.yaml
vendored
31
.github/workflows/lint.yaml
vendored
@@ -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 ./...
|
||||
Reference in New Issue
Block a user