Skip to content

fix(docker): bump Go base image to 1.25 to match go.mod requirement #22

fix(docker): bump Go base image to 1.25 to match go.mod requirement

fix(docker): bump Go base image to 1.25 to match go.mod requirement #22

Workflow file for this run

name: Tests
on:
push:
pull_request:
jobs:
test:
name: Run on Ubuntu
runs-on: ubuntu-latest
steps:
- name: Clone the code
uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: Download setup-envtest
run: |
go install sigs.k8s.io/controller-runtime/tools/setup-envtest@latest
setup-envtest use --bin-dir ./bin/k8s -p path
- name: Running Tests
run: |
go mod tidy
KUBEBUILDER_ASSETS="$(setup-envtest use --bin-dir ./bin/k8s -p path)" \
go test $(go list ./... | grep -v /e2e) -coverprofile cover.out