Compare commits
2 commits
eb54f334a4
...
ae1d022e5a
Author | SHA1 | Date | |
---|---|---|---|
ae1d022e5a | |||
9cfd4065a8 |
3 changed files with 5 additions and 5 deletions
|
@ -1,19 +1,19 @@
|
||||||
steps:
|
steps:
|
||||||
- name: gofmt
|
- name: gofmt
|
||||||
image: golang:1.23.6
|
image: golang:1.24.0
|
||||||
commands:
|
commands:
|
||||||
- gofmt -l -s .
|
- gofmt -l -s .
|
||||||
when:
|
when:
|
||||||
- event: push
|
- event: push
|
||||||
- name: vuln-check
|
- name: vuln-check
|
||||||
image: golang:1.23.6
|
image: golang:1.24.0
|
||||||
commands:
|
commands:
|
||||||
- go install golang.org/x/vuln/cmd/govulncheck@latest
|
- go install golang.org/x/vuln/cmd/govulncheck@latest
|
||||||
- govulncheck ./...
|
- govulncheck ./...
|
||||||
when:
|
when:
|
||||||
- event: push
|
- event: push
|
||||||
- name: golangci-linter
|
- name: golangci-linter
|
||||||
image: golangci/golangci-lint:v1.64.2
|
image: golangci/golangci-lint:v1.64.3
|
||||||
commands:
|
commands:
|
||||||
- golangci-lint run ./...
|
- golangci-lint run ./...
|
||||||
when:
|
when:
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
steps:
|
steps:
|
||||||
- name: gotest
|
- name: gotest
|
||||||
image: golang:1.23.6
|
image: golang:1.24.0
|
||||||
commands:
|
commands:
|
||||||
- go test ./...
|
- go test ./...
|
||||||
when:
|
when:
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
FROM golang:1.23.6-bookworm AS build
|
FROM golang:1.24.0-bookworm AS build
|
||||||
|
|
||||||
# Create build workspace folder
|
# Create build workspace folder
|
||||||
WORKDIR /workspace
|
WORKDIR /workspace
|
||||||
|
|
Loading…
Add table
Reference in a new issue