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:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: golangci-lint
|
- name: golangci-lint
|
||||||
uses: golangci/golangci-lint-action@v1
|
uses: golangci/golangci-lint-action@v2
|
||||||
with:
|
with:
|
||||||
# Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version.
|
# 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: ./...
|
args: ./...
|
12
.github/workflows/staticcheck.yml
vendored
12
.github/workflows/staticcheck.yml
vendored
@ -8,7 +8,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@master
|
- uses: actions/checkout@master
|
||||||
- name: check
|
- name: check
|
||||||
uses: senorprogrammer/golang-github-actions@2614d7f
|
uses: grandcolline/golang-github-actions@4356d04
|
||||||
with:
|
with:
|
||||||
run: imports
|
run: imports
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
@ -19,7 +19,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@master
|
- uses: actions/checkout@master
|
||||||
- name: check
|
- name: check
|
||||||
uses: senorprogrammer/golang-github-actions@2614d7f
|
uses: grandcolline/golang-github-actions@4356d04
|
||||||
with:
|
with:
|
||||||
run: errcheck
|
run: errcheck
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
@ -30,7 +30,7 @@ jobs:
|
|||||||
#steps:
|
#steps:
|
||||||
#- uses: actions/checkout@master
|
#- uses: actions/checkout@master
|
||||||
#- name: check
|
#- name: check
|
||||||
#uses: senorprogrammer/golang-github-actions@2614d7f
|
#uses: grandcolline/golang-github-actions@4356d04
|
||||||
#with:
|
#with:
|
||||||
#run: lint
|
#run: lint
|
||||||
#token: ${{ secrets.GITHUB_TOKEN }}
|
#token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
@ -41,7 +41,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@master
|
- uses: actions/checkout@master
|
||||||
- name: check
|
- name: check
|
||||||
uses: senorprogrammer/golang-github-actions@2614d7f
|
uses: grandcolline/golang-github-actions@4356d04
|
||||||
with:
|
with:
|
||||||
run: shadow
|
run: shadow
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
@ -52,7 +52,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@master
|
- uses: actions/checkout@master
|
||||||
- name: check
|
- name: check
|
||||||
uses: senorprogrammer/golang-github-actions@2614d7f
|
uses: grandcolline/golang-github-actions@4356d04
|
||||||
with:
|
with:
|
||||||
run: staticcheck
|
run: staticcheck
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
@ -63,7 +63,7 @@ jobs:
|
|||||||
#steps:
|
#steps:
|
||||||
#- uses: actions/checkout@master
|
#- uses: actions/checkout@master
|
||||||
#- name: check
|
#- name: check
|
||||||
#uses: senorprogrammer/golang-github-actions@2614d7f
|
#uses: grandcolline/golang-github-actions@4356d04
|
||||||
#with:
|
#with:
|
||||||
#run: sec
|
#run: sec
|
||||||
#token: ${{ secrets.GITHUB_TOKEN }}
|
#token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
@ -1,3 +1,6 @@
|
|||||||
|
run:
|
||||||
|
timeout: 2m
|
||||||
|
|
||||||
linters:
|
linters:
|
||||||
enable:
|
enable:
|
||||||
- vet
|
- vet
|
||||||
|
Loading…
x
Reference in New Issue
Block a user