Skip to content

Commit

Permalink
Merge branch 'kubernetes-sigs:master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
calvinbui authored Aug 4, 2023
2 parents 2e9864a + 952dc5d commit 1488cc1
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 4 deletions.
15 changes: 12 additions & 3 deletions .github/workflows/staging-image-tester.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- name: Set up Go 1.x
uses: actions/setup-go@v4
with:
go-version: 1.19
go-version: '1.20'
id: go

- name: Check out code into the Go module directory
Expand All @@ -33,5 +33,14 @@ jobs:
run: |
go get -v -t -d ./...
- name: Test
run: make build.image/multiarch
- name: Test build on amd64
run: make build.image-amd64

- name: Clean
run: make clean

- name: Test build on arm64
run: make build.image-arm64

- name: Clean
run: make clean
6 changes: 5 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,11 @@ endif

.PHONY: go-lint

golangci-lint:
@command -v golangci-lint > /dev/null || curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.53.3

# Run the golangci-lint tool
go-lint:
go-lint: golangci-lint
golangci-lint run --timeout=15m ./...

.PHONY: licensecheck
Expand Down Expand Up @@ -167,6 +170,7 @@ build.mini:

clean:
@rm -rf build
@go clean -cache

# Builds and push container images to the staging bucket.
.PHONY: release.staging
Expand Down

0 comments on commit 1488cc1

Please sign in to comment.