1
0
mirror of https://github.com/taigrr/wtf synced 2025-01-18 04:03:14 -08:00

Back onto grandcolline/golang-github-actions

Signed-off-by: Chris Cummer <chriscummer@me.com>
This commit is contained in:
Chris Cummer 2020-11-26 20:37:04 -08:00
parent 7e0f10223c
commit 458a1d6d16
3 changed files with 11 additions and 8 deletions

View File

@ -13,8 +13,8 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: golangci-lint
uses: golangci/golangci-lint-action@v1
uses: golangci/golangci-lint-action@v2
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.26
version: v1.29
args: ./...

View File

@ -8,7 +8,7 @@ jobs:
steps:
- uses: actions/checkout@master
- name: check
uses: senorprogrammer/golang-github-actions@2614d7f
uses: grandcolline/golang-github-actions@4356d04
with:
run: imports
token: ${{ secrets.GITHUB_TOKEN }}
@ -19,7 +19,7 @@ jobs:
steps:
- uses: actions/checkout@master
- name: check
uses: senorprogrammer/golang-github-actions@2614d7f
uses: grandcolline/golang-github-actions@4356d04
with:
run: errcheck
token: ${{ secrets.GITHUB_TOKEN }}
@ -30,7 +30,7 @@ jobs:
#steps:
#- uses: actions/checkout@master
#- name: check
#uses: senorprogrammer/golang-github-actions@2614d7f
#uses: grandcolline/golang-github-actions@4356d04
#with:
#run: lint
#token: ${{ secrets.GITHUB_TOKEN }}
@ -41,7 +41,7 @@ jobs:
steps:
- uses: actions/checkout@master
- name: check
uses: senorprogrammer/golang-github-actions@2614d7f
uses: grandcolline/golang-github-actions@4356d04
with:
run: shadow
token: ${{ secrets.GITHUB_TOKEN }}
@ -52,7 +52,7 @@ jobs:
steps:
- uses: actions/checkout@master
- name: check
uses: senorprogrammer/golang-github-actions@2614d7f
uses: grandcolline/golang-github-actions@4356d04
with:
run: staticcheck
token: ${{ secrets.GITHUB_TOKEN }}
@ -63,7 +63,7 @@ jobs:
#steps:
#- uses: actions/checkout@master
#- name: check
#uses: senorprogrammer/golang-github-actions@2614d7f
#uses: grandcolline/golang-github-actions@4356d04
#with:
#run: sec
#token: ${{ secrets.GITHUB_TOKEN }}

View File

@ -1,3 +1,6 @@
run:
timeout: 2m
linters:
enable:
- vet