-
Notifications
You must be signed in to change notification settings - Fork 593
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* bump go to 1.21, add toolchain go1.21.7 * bump go to 1.21 * fix test --------- Co-authored-by: Egor Balakin <[email protected]>
- Loading branch information
Showing
11 changed files
with
70 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,7 +15,7 @@ jobs: | |
- uses: styfle/[email protected] | ||
- uses: actions/setup-go@v5 | ||
with: | ||
go-version: '1.20.x' | ||
go-version: '1.21.x' | ||
- name: Cache Golang Packages | ||
uses: actions/cache@v3 | ||
with: | ||
|
@@ -43,7 +43,7 @@ jobs: | |
steps: | ||
- uses: actions/setup-go@v5 | ||
with: | ||
go-version: '1.20.x' | ||
go-version: '1.21.x' | ||
- name: Cache Golang Packages | ||
uses: actions/cache@v3 | ||
with: | ||
|
@@ -63,8 +63,7 @@ jobs: | |
steps: | ||
- uses: actions/setup-go@v5 | ||
with: | ||
go-version: '1.20.x' | ||
# action requires [email protected] | ||
go-version: '1.21.x' | ||
- name: checkout | ||
uses: actions/checkout@v4 | ||
with: | ||
|
@@ -79,7 +78,7 @@ jobs: | |
steps: | ||
- uses: actions/setup-go@v5 | ||
with: | ||
go-version: '1.20.x' | ||
go-version: '1.21.x' | ||
- name: Cache Golang Packages | ||
uses: actions/cache@v3 | ||
with: | ||
|
@@ -99,7 +98,7 @@ jobs: | |
steps: | ||
- uses: actions/setup-go@v5 | ||
with: | ||
go-version: '1.20.x' | ||
go-version: '1.21.x' | ||
- name: Cache Golang Packages | ||
uses: actions/cache@v3 | ||
with: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM golang:1.20 AS build-env | ||
FROM golang:1.21 AS build-env | ||
COPY . /build | ||
WORKDIR /build | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,8 @@ | ||
module github.com/SAP/jenkins-library | ||
|
||
go 1.20 | ||
go 1.21 | ||
|
||
toolchain go1.21.9 | ||
|
||
// It is a locked dependency of github.com/buildpacks/[email protected]. The maintainers may remove the lock | ||
// in future releases. Check if 'replace' statement still there in their go.mod file. Remove line below if not. | ||
|
2 changes: 1 addition & 1 deletion
2
integration/testdata/TestGolangIntegration/golang-project1/go.mod
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
module github.com/example/golang-app | ||
|
||
go 1.20 | ||
go 1.21 | ||
|
||
require github.com/gorilla/mux v1.8.0 |
2 changes: 1 addition & 1 deletion
2
integration/testdata/TestGolangIntegration/golang-project2/go.mod
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
module github.com/example/golang-app | ||
|
||
go 1.20 | ||
go 1.21 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters