trigger ci on all branches.
This commit is contained in:
parent
f9cde6835b
commit
0a789c52ca
|
@ -1,22 +1,20 @@
|
|||
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@v2
|
||||
with:
|
||||
# the version of golangci-lint.
|
||||
version: v1.32.2
|
||||
|
||||
# show only new issues if it's a pull request.
|
||||
only-new-issues: false
|
||||
name: golangci-lint
|
||||
on:
|
||||
# Run this workflow every time a new commit pushed to upstream/fork repository.
|
||||
# Run workflow on fork repository will help contributors find and resolve issues before sending a PR.
|
||||
push:
|
||||
pull_request:
|
||||
jobs:
|
||||
golangci:
|
||||
name: lint
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: golangci-lint
|
||||
uses: golangci/golangci-lint-action@v2
|
||||
with:
|
||||
# the version of golangci-lint.
|
||||
version: v1.32.2
|
||||
|
||||
# show only new issues if it's a pull request.
|
||||
only-new-issues: false
|
||||
|
|
Loading…
Reference in New Issue