Skip to content

Commit 9cd091b

Browse files
committed
chore: pin all github actions to go 1.20.2
There was a change in how go parses URLs in versions higher than 1.20.2 (likely 1.20.6 and up) which breaks the Docker API's handling of daemon URIs. This fix pins the Go version at a version known to work with the existing Docker API and `func` implementation. Signed-off-by: Lance Ball <[email protected]>
1 parent 08f6ea2 commit 9cd091b

12 files changed

+20
-20
lines changed

.github/workflows/build.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
name: Build
88
strategy:
99
matrix:
10-
go: [1.20.x]
10+
go: [1.20.2]
1111
os: ["ubuntu-latest", "windows-latest", "macos-latest"]
1212
runs-on: ${{ matrix.os }}
1313
steps:

.github/workflows/check.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
name: Check Source
88
strategy:
99
matrix:
10-
go: [1.20.x]
10+
go: [1.20.2]
1111
os: ["ubuntu-latest"]
1212
runs-on: ${{ matrix.os }}
1313
steps:

.github/workflows/ci.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
- uses: actions/checkout@v3
1212
- uses: actions/setup-go@v3
1313
with:
14-
go-version: "1.20"
14+
go-version: "1.20.2"
1515
- name: Lint
1616
run: make check && make check-templates
1717
- name: Check that 'func.yaml schema' is up-to-date
@@ -22,7 +22,7 @@ jobs:
2222
test-unit:
2323
strategy:
2424
matrix:
25-
go: [ 1.20.x ]
25+
go: [ 1.20.2 ]
2626
java: [ 17 ]
2727
os: [ "ubuntu-latest", "windows-latest", "macos-latest" ]
2828
runs-on: ${{ matrix.os }}
@@ -50,7 +50,7 @@ jobs:
5050
- uses: actions/checkout@v3
5151
- uses: actions/setup-go@v3
5252
with:
53-
go-version: "1.20"
53+
go-version: "1.20.2"
5454
- name: Install Binaries
5555
run: ./hack/binaries.sh
5656
- name: Allocate Cluster
@@ -67,7 +67,7 @@ jobs:
6767
e2e-test:
6868
strategy:
6969
matrix:
70-
go: [1.20.x]
70+
go: [1.20.2]
7171
os: ["ubuntu-latest"]
7272
runs-on: ${{ matrix.os }}
7373
steps:
@@ -91,7 +91,7 @@ jobs:
9191
e2e-on-cluster-test:
9292
strategy:
9393
matrix:
94-
go: [1.20.x]
94+
go: [1.20.2]
9595
os: ["ubuntu-latest"]
9696
runs-on: ${{ matrix.os }}
9797
steps:
@@ -126,7 +126,7 @@ jobs:
126126
- uses: actions/checkout@v3
127127
- uses: actions/setup-go@v3
128128
with:
129-
go-version: "1.20"
129+
go-version: "1.20.2"
130130
# Standard build tasks
131131
- name: Build
132132
run: make cross-platform
@@ -167,6 +167,6 @@ jobs:
167167
- uses: actions/checkout@v3
168168
- uses: actions/setup-go@v3
169169
with:
170-
go-version: "1.20"
170+
go-version: "1.20.2"
171171
- uses: imjasonh/[email protected]
172172
- run: ko build -B ./cmd/func

.github/workflows/schema.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
name: Check Schema
88
strategy:
99
matrix:
10-
go: [1.20.x]
10+
go: [1.20.2]
1111
os: ["ubuntu-latest"]
1212
runs-on: ${{ matrix.os }}
1313
steps:

.github/workflows/test-e2e-oncluster-runtime.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
name: On Cluster RT Test
88
strategy:
99
matrix:
10-
go: [1.20.x]
10+
go: [1.20.2]
1111
os: ["ubuntu-latest"]
1212
runs-on: ${{ matrix.os }}
1313
steps:

.github/workflows/test-e2e-oncluster.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
name: On Cluster Test
88
strategy:
99
matrix:
10-
go: [1.20.x]
10+
go: [1.20.2]
1111
os: ["ubuntu-latest"]
1212
runs-on: ${{ matrix.os }}
1313
steps:

.github/workflows/test-e2e-runtime.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- uses: actions/checkout@v3
1818
- uses: actions/setup-go@v3
1919
with:
20-
go-version: 1.20.x
20+
go-version: 1.20.2
2121
- name: Install Binaries
2222
run: ./hack/binaries.sh
2323
- name: Allocate Cluster

.github/workflows/test-e2e.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
name: E2E Test
88
strategy:
99
matrix:
10-
go: [1.20.x]
10+
go: [1.20.2]
1111
os: ["ubuntu-latest"]
1212
runs-on: ${{ matrix.os }}
1313
steps:

.github/workflows/test-embedded-fs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
name: Func Embedded FS Test
88
strategy:
99
matrix:
10-
go: [1.20.x]
10+
go: [1.20.2]
1111
os: ["ubuntu-latest"]
1212
runs-on: ${{ matrix.os }}
1313
steps:

.github/workflows/test-integration.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
name: Integration Test
88
strategy:
99
matrix:
10-
go: [1.20.x]
10+
go: [1.20.2]
1111
os: ["ubuntu-latest"]
1212
runs-on: ${{ matrix.os }}
1313
steps:
@@ -49,7 +49,7 @@ jobs:
4949
echo "::group::cluster events"
5050
kubectl get events -A
5151
echo "::endgroup::"
52-
52+
5353
echo "::group::cluster containers logs"
5454
stern '.*' --all-namespaces --no-follow
5555
echo "::endgroup::"

0 commit comments

Comments
 (0)