mirror of
https://github.com/x-motemen/ghq.git
synced 2026-09-10 07:26:27 -04:00
use staticcheck instead of golangci-lint
This commit is contained in:
parent
29a78eb42d
commit
72cd3bd9ab
8
.github/workflows/reviewdog.yaml
vendored
8
.github/workflows/reviewdog.yaml
vendored
|
|
@ -2,16 +2,16 @@ name: reviewdog
|
|||
on: [pull_request]
|
||||
|
||||
jobs:
|
||||
golangci-lint:
|
||||
name: golangci-lint
|
||||
staticcheck:
|
||||
name: staticcheck
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Check out code into the Go module directory
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
persist-credentials: false
|
||||
- name: golangci-lint
|
||||
uses: reviewdog/action-golangci-lint@v2
|
||||
- name: staticcheck
|
||||
uses: reviewdog/action-staticcheck@v1
|
||||
with:
|
||||
reporter: github-pr-review
|
||||
level: warning
|
||||
|
|
|
|||
2
Makefile
2
Makefile
|
|
@ -13,7 +13,7 @@ deps:
|
|||
devel-deps: deps
|
||||
go install github.com/Songmu/godzil/cmd/godzil@latest
|
||||
go install github.com/tcnksm/ghr@latest
|
||||
go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest
|
||||
go install honnef.co/go/tools/cmd/staticcheck@latest
|
||||
|
||||
.PHONY: test
|
||||
test: deps
|
||||
|
|
|
|||
Loading…
Reference in a new issue