Skip to content

Commit

Permalink
Revert workflow go to stable
Browse files Browse the repository at this point in the history
- Previously pinned due to hanging workloads tests
- Update go.mod
- Update Dockerfiles

Co-authored-by: Dave Walter <[email protected]>
  • Loading branch information
Birdrock and davewalter committed Dec 12, 2023
1 parent dd7f806 commit 6dba703
Show file tree
Hide file tree
Showing 7 changed files with 56 additions and 12 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/test-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
${{ runner.os }}-go-
- uses: actions/setup-go@v5
with:
go-version: '1.20.7'
go-version: 'stable'
- name: Run linters
run: make lint

Expand All @@ -43,7 +43,7 @@ jobs:
- uses: actions/setup-go@v5
with:
go-version: '1.20.7'
go-version: 'stable'

- name: Run API unit tests
run: make -C api test
Expand All @@ -65,7 +65,7 @@ jobs:
- uses: actions/setup-go@v5
with:
go-version: '1.20.7'
go-version: 'stable'

- name: Run Controllers tests
run: make -C controllers test
Expand All @@ -87,7 +87,7 @@ jobs:
- uses: actions/setup-go@v5
with:
go-version: '1.20.7'
go-version: 'stable'

- name: Run job-task-runner tests
run: make -C job-task-runner test
Expand All @@ -109,7 +109,7 @@ jobs:
- uses: actions/setup-go@v5
with:
go-version: '1.20.7'
go-version: 'stable'

- name: Run kpack-image-builder tests
run: make -C kpack-image-builder test
Expand All @@ -131,7 +131,7 @@ jobs:
- uses: actions/setup-go@v5
with:
go-version: '1.20.7'
go-version: 'stable'

- name: Run statefulset-runner tests
run: make -C statefulset-runner test
Expand All @@ -153,7 +153,7 @@ jobs:
- uses: actions/setup-go@v5
with:
go-version: '1.20.7'
go-version: 'stable'

- name: Run tools tests
run: make -C tools test
2 changes: 1 addition & 1 deletion api/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# syntax = docker/dockerfile:experimental
FROM golang:1.20.12 as builder
FROM golang:1.21.5 as builder

ARG version=dev

Expand Down
2 changes: 1 addition & 1 deletion api/remote-debug/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# syntax = docker/dockerfile:experimental
FROM golang:1.20.12 as builder
FROM golang:1.21.5 as builder

ARG version=dev

Expand Down
2 changes: 1 addition & 1 deletion controllers/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# syntax = docker/dockerfile:experimental
FROM golang:1.20.12 as builder
FROM golang:1.21.5 as builder

ARG version=dev

Expand Down
2 changes: 1 addition & 1 deletion controllers/remote-debug/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# syntax = docker/dockerfile:experimental
FROM golang:1.20.12 as builder
FROM golang:1.21.5 as builder

ARG version=dev

Expand Down
4 changes: 3 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
module code.cloudfoundry.org/korifi

go 1.20
go 1.21

toolchain go1.21.5

require (
code.cloudfoundry.org/bytefmt v0.0.0-20211005130812-5bb3c17173e5
Expand Down
42 changes: 42 additions & 0 deletions go.sum

Large diffs are not rendered by default.

0 comments on commit 6dba703

Please sign in to comment.