mirror of
https://github.com/coredns/coredns.git
synced 2025-11-01 10:43:17 -04:00
add golangci-lint linter (#5499)
This commit is contained in:
16
.github/workflows/golangci-lint.yml
vendored
Normal file
16
.github/workflows/golangci-lint.yml
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
name: golangci-lint
|
||||
on:
|
||||
pull_request:
|
||||
jobs:
|
||||
golangci:
|
||||
name: lint
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/setup-go@v3
|
||||
with:
|
||||
go-version: '1.18'
|
||||
- uses: actions/checkout@v3
|
||||
- name: golangci-lint
|
||||
uses: golangci/golangci-lint-action@v3
|
||||
with:
|
||||
version: v1.46.2
|
||||
Reference in New Issue
Block a user