Skip to content

Commit e066fdb

Browse files
committed
Update Go to 1.21.3.
1 parent fe26f99 commit e066fdb

File tree

4 files changed

+3
-74
lines changed

4 files changed

+3
-74
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,11 @@ jobs:
1313
strategy:
1414
fail-fast: false
1515
matrix:
16-
go: ["1.20", "1.19"]
16+
go: ["1.21", "1.20"]
1717
steps:
1818
- name: Checkout
1919
uses: actions/[email protected]
2020

21-
- name: License check
22-
run: ./scripts/license-check.sh
23-
2421
- name: Go installation
2522
uses: actions/[email protected]
2623
with:
@@ -29,17 +26,8 @@ jobs:
2926
- name: Go dependencies installation
3027
run: go get -d ./...
3128

32-
- name: Golint installation
33-
run: go get -u golang.org/x/lint/golint
34-
3529
- name: Build
3630
run: go build ./...
3731

38-
- name: Lint
39-
run: ./scripts/golint.sh
40-
4132
- name: Vet
4233
run: go vet ./...
43-
44-
- name: Test
45-
run: go test -v ./...

Dockerfile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
1-
ARG GO_VERSION=1.20.1
2-
ARG ALPINE_VERSION=3.17
1+
ARG GO_VERSION=1.21.3-alpine3.18
32
ARG GOIMPORTS_VERSION=0.6.0
43
ARG DELVE_VERSION=1.20.1
54
ARG SWAGGER_VERSION=0.30.4
65

76

87
## Base image
9-
FROM golang:${GO_VERSION}-alpine${ALPINE_VERSION} AS base
8+
FROM golang:${GO_VERSION} AS base
109

1110
WORKDIR /go/src/app
1211

scripts/golint.sh

Lines changed: 0 additions & 14 deletions
This file was deleted.

scripts/license-check.sh

Lines changed: 0 additions & 44 deletions
This file was deleted.

0 commit comments

Comments
 (0)