diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 45642a6f..7932abf2 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -15,7 +15,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-go@v3 with: - go-version: '1.19' + go-version: '1.22' - run: make fmt vet: @@ -24,7 +24,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-go@v3 with: - go-version: '1.19' + go-version: '1.22' - run: make vet build: @@ -33,7 +33,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-go@v3 with: - go-version: '1.19' + go-version: '1.22' - run: make cmd test-unit: @@ -42,7 +42,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-go@v3 with: - go-version: '1.19' + go-version: '1.22' - run: make test test-api: @@ -60,7 +60,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-go@v3 with: - go-version: '1.19' + go-version: '1.22' - run: | rm -f $DB_PATH make run & diff --git a/.github/workflows/test-nightly.yml b/.github/workflows/test-nightly.yml index 60e81cf8..d2c4b36f 100644 --- a/.github/workflows/test-nightly.yml +++ b/.github/workflows/test-nightly.yml @@ -11,7 +11,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-go@v3 with: - go-version: '1.19' + go-version: '1.22' - run: make test test-api: @@ -20,7 +20,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-go@v3 with: - go-version: '1.19' + go-version: '1.22' - run: | make vet DISCONNECTED=1 make run & diff --git a/Makefile b/Makefile index e8463bc8..b092ad5f 100644 --- a/Makefile +++ b/Makefile @@ -84,7 +84,7 @@ $(CONTROLLERGEN): # Ensure goimports installed. $(GOIMPORTS): - go install golang.org/x/tools/cmd/goimports@latest + go install golang.org/x/tools/cmd/goimports@v0.24 # Build SAMPLE ADDON addon: fmt vet