Skip to content

Commit

Permalink
upgrade to go 1.19 (#326)
Browse files Browse the repository at this point in the history
  • Loading branch information
SparkYuan committed Apr 23, 2023
1 parent 3a0f50c commit 5fa2b5c
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/e2e-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: install Go
uses: actions/setup-go@v2
with:
go-version: 1.18
go-version: 1.19
- name: Setup K3d
uses: nolar/setup-k3d-k3s@v1.0.8
- name: run e2e
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ jobs:
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Set up Go 1.18
- name: Set up Go 1.19
uses: actions/setup-go@v2
with:
go-version: 1.18
go-version: 1.19
- name: Running go tests with coverage
env:
GO111MODULE: on
Expand All @@ -36,10 +36,10 @@ jobs:
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Set up Go 1.18
- name: Set up Go 1.19
uses: actions/setup-go@v2
with:
go-version: 1.18
go-version: 1.19
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
Expand All @@ -56,7 +56,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.18
go-version: 1.19
# <--- Get version informations --->
- name: Get version
id: get_version
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ jobs:
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Set up Go 1.18
- name: Set up Go 1.19
uses: actions/setup-go@v2
with:
go-version: 1.18
go-version: 1.19

- run: go build ./...
- run: go vet ./...
Expand All @@ -41,10 +41,10 @@ jobs:
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Set up Go 1.18
- name: Set up Go 1.19
uses: actions/setup-go@v2
with:
go-version: 1.18
go-version: 1.19
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.18 AS build
FROM golang:1.19 AS build
COPY / /src
WORKDIR /src
RUN --mount=type=cache,target=/go/pkg --mount=type=cache,target=/root/.cache/go-build make build-local-linux
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module kusionstack.io/kusion

go 1.18
go 1.19

require (
bou.ke/monkey v1.0.2
Expand Down
2 changes: 1 addition & 1 deletion scripts/install-kcl-openapi/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module kusionstack.io/kusion/cmd/kcl-openapi

go 1.18
go 1.19

require kusionstack.io/kcl-openapi v0.4.2

Expand Down

0 comments on commit 5fa2b5c

Please sign in to comment.