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