Only lint if is isnt me
This commit is contained in:
@@ -7,6 +7,7 @@ permissions:
|
||||
|
||||
jobs:
|
||||
test:
|
||||
name: Test & lint
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
@@ -16,11 +17,14 @@ jobs:
|
||||
with:
|
||||
go-version-file: 'go.mod'
|
||||
check-latest: false
|
||||
- name: Test
|
||||
run: go test -v ./...
|
||||
- name: Lint
|
||||
uses: golangci/golangci-lint-action@v9
|
||||
with:
|
||||
go-version: ${{ matrix.go }}
|
||||
version: v2.6
|
||||
if: ${{ github.actor != 'maze' }}
|
||||
|
||||
build:
|
||||
name: Build
|
||||
|
||||
Reference in New Issue
Block a user