chore: add golangci-lint action config file

pull/160/head
ᴍᴏᴏɴD4ʀᴋ 2 years ago committed by GitHub
parent 77bdde8d0e
commit a2bfdeb130
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 22
      .github/workflows/lint.yml

@ -0,0 +1,22 @@
name: Lint
on:
push:
branches:
- master
pull_request:
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- name: Set Golang
uses: actions/setup-go@v3
with:
go-version: 1.19
- name: Checkout code
uses: actions/checkout@v3
- name: Lint
uses: golangci/golangci-lint-action@v3
with:
version: latest
Loading…
Cancel
Save