Skip to content

Commit

Permalink
ci: add golangci-lint as a github action
Browse files Browse the repository at this point in the history
  • Loading branch information
sbinet committed May 22, 2020
1 parent 6f15771 commit 25cc611
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/golangci-lint.yml
@@ -0,0 +1,21 @@
name: golangci-lint
on:
push:
tags:
- v*
branches:
- master
pull_request:
jobs:
golangci:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: golangci-lint
uses: golangci/golangci-lint-action@v1
with:
# Required: the version of golangci-lint is required and must be specified without patch version:
# we always use the latest patch version.
version: v1.27
only-new-issues: true

0 comments on commit 25cc611

Please sign in to comment.