21 lines
323 B
YAML
21 lines
323 B
YAML
|
name: golangci-lint
|
||
|
|
||
|
on:
|
||
|
push:
|
||
|
branches: [ master ]
|
||
|
pull_request:
|
||
|
branches: [ master ]
|
||
|
|
||
|
jobs:
|
||
|
|
||
|
golangci:
|
||
|
name: lint
|
||
|
runs-on: ubuntu-latest
|
||
|
|
||
|
steps:
|
||
|
- uses: actions/checkout@v2
|
||
|
- name: golangci-lint
|
||
|
uses: golangci/golangci-lint-action@v2
|
||
|
with:
|
||
|
version: v1.35.2
|