diff --git a/.github/workflows/test-pr.yml b/.github/workflows/test-pr.yml index 46c4625b3..1465e3a7d 100644 --- a/.github/workflows/test-pr.yml +++ b/.github/workflows/test-pr.yml @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 diff --git a/Makefile b/Makefile index 2e5216fbc..4279a0708 100644 --- a/Makefile +++ b/Makefile @@ -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: