mirror of
https://github.com/sot-tech/mochi.git
synced 2026-04-26 15:40:01 -07:00
add separate job for golangci wf
This commit is contained in:
13
.github/workflows/lint.yaml
vendored
13
.github/workflows/lint.yaml
vendored
@@ -19,7 +19,18 @@ jobs:
|
||||
- uses: "authzed/actions/gofumpt@main"
|
||||
- uses: "authzed/actions/go-mod-tidy@main"
|
||||
- uses: "authzed/actions/go-generate@main"
|
||||
- uses: "authzed/actions/golangci-lint@main"
|
||||
|
||||
go-lint-ci:
|
||||
name: "Lint CI"
|
||||
runs-on: "ubuntu-latest"
|
||||
steps:
|
||||
- uses: "actions/checkout@v3"
|
||||
- uses: "actions/setup-go@v3"
|
||||
with:
|
||||
go-version: ">=1.19"
|
||||
- uses: "golangci/golangci-lint-action@v3"
|
||||
with:
|
||||
version: "latest"
|
||||
|
||||
codeql:
|
||||
name: "Analyze with CodeQL"
|
||||
|
||||
Reference in New Issue
Block a user