go-json/.github/workflows/lint.yml

16 lines
321 B
YAML

name: lint
on: [pull_request, push]
jobs:
golangci:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: golangci/golangci-lint-action@v2
with:
version: v1.34.1
args: --timeout=5m
- name: Run go vet
run: |
go vet ./...