ci: upgrading golangci-lint and goreleaser
This commit is contained in:
parent
5ef9e87ea6
commit
f2dbd36266
@ -9,14 +9,14 @@ steps:
|
|||||||
- git fetch --tags
|
- git fetch --tags
|
||||||
|
|
||||||
- name: lint
|
- name: lint
|
||||||
image: golangci/golangci-lint:v1.40.1
|
image: golangci/golangci-lint:v1.42.0
|
||||||
commands:
|
commands:
|
||||||
- make lint
|
- make lint
|
||||||
depends_on:
|
depends_on:
|
||||||
- tags
|
- tags
|
||||||
|
|
||||||
- name: test
|
- name: test
|
||||||
image: golang:1.16
|
image: golang:1.17
|
||||||
commands:
|
commands:
|
||||||
- make test
|
- make test
|
||||||
depends_on:
|
depends_on:
|
||||||
@ -24,7 +24,7 @@ steps:
|
|||||||
- lint
|
- lint
|
||||||
|
|
||||||
- name: build
|
- name: build
|
||||||
image: goreleaser/goreleaser:v0.171.0
|
image: goreleaser/goreleaser:v0.176.0
|
||||||
commands:
|
commands:
|
||||||
- make build
|
- make build
|
||||||
depends_on:
|
depends_on:
|
||||||
@ -37,7 +37,7 @@ steps:
|
|||||||
- tag
|
- tag
|
||||||
|
|
||||||
- name: release
|
- name: release
|
||||||
image: goreleaser/goreleaser:v0.171.0
|
image: goreleaser/goreleaser:v0.176.0
|
||||||
environment:
|
environment:
|
||||||
GITHUB_TOKEN:
|
GITHUB_TOKEN:
|
||||||
from_secret: github_token
|
from_secret: github_token
|
||||||
|
Loading…
Reference in New Issue
Block a user