Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix build-dorifi to work with golang 1.21.0 #2764

Merged
merged 2 commits into from
Aug 11, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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@v4
with:
go-version: 'stable'
go-version: '1.20.7'
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
- name: staticcheck
Expand All @@ -48,7 +48,7 @@ jobs:

- uses: actions/setup-go@v4
with:
go-version: 'stable'
go-version: '1.20.7'

- name: Run API unit tests
run: make -C api test
Expand All @@ -70,7 +70,7 @@ jobs:

- uses: actions/setup-go@v4
with:
go-version: 'stable'
go-version: '1.20.7'

- name: Run Controllers tests
run: make -C controllers test
Expand All @@ -92,7 +92,7 @@ jobs:

- uses: actions/setup-go@v4
with:
go-version: 'stable'
go-version: '1.20.7'

- name: Run job-task-runner tests
run: make -C job-task-runner test
Expand All @@ -114,7 +114,7 @@ jobs:

- uses: actions/setup-go@v4
with:
go-version: 'stable'
go-version: '1.20.7'

- name: Run kpack-image-builder tests
run: make -C kpack-image-builder test
Expand All @@ -136,7 +136,7 @@ jobs:

- uses: actions/setup-go@v4
with:
go-version: 'stable'
go-version: '1.20.7'

- name: Run statefulset-runner tests
run: make -C statefulset-runner test
Expand All @@ -158,7 +158,7 @@ jobs:

- uses: actions/setup-go@v4
with:
go-version: 'stable'
go-version: '1.20.7'

- name: Run tools tests
run: make -C tools test
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ test-smoke: build-dorifi


build-dorifi:
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o ../dorifi/dorifi -C tests/assets/golang .
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -C tests/assets/golang -o ../dorifi/dorifi .

GOFUMPT = $(shell go env GOPATH)/bin/gofumpt
install-gofumpt:
Expand Down
Loading