mirror of
https://github.com/taigrr/wtf
synced 2025-01-18 04:03:14 -08:00
Back onto grandcolline/golang-github-actions (#1030)
Signed-off-by: Chris Cummer <chriscummer@me.com>
This commit is contained in:
parent
7e0f10223c
commit
a18f77bfad
4
.github/workflows/golangci-lint.yml
vendored
4
.github/workflows/golangci-lint.yml
vendored
@ -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: ./...
|
12
.github/workflows/staticcheck.yml
vendored
12
.github/workflows/staticcheck.yml
vendored
@ -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 }}
|
||||
|
@ -1,3 +1,6 @@
|
||||
run:
|
||||
timeout: 2m
|
||||
|
||||
linters:
|
||||
enable:
|
||||
- vet
|
||||
|
Loading…
x
Reference in New Issue
Block a user