chore: split golangci-lint from go github action

main
sudo pacman -Syu 2021-11-06 13:23:20 +07:00
parent b870cd4446
commit a1e66eeff5
2 changed files with 19 additions and 8 deletions

View File

@ -33,11 +33,3 @@ jobs:
with:
go-version: "~1.17"
- run: go build ./cmd/changeloguru
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: golangci/golangci-lint-action@v2
with:
version: latest

19
.github/workflows/golangci-lint.yaml vendored Normal file
View File

@ -0,0 +1,19 @@
name: Go
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
lint:
name: golangci-lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: golangci/golangci-lint-action@v2
with:
version: latest