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

Configuration of GH workflows to use go version 1.23.0 #375

Merged
merged 6 commits into from
Sep 11, 2024
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
8 changes: 4 additions & 4 deletions .github/workflows/golangci-lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: '1.22.4'
go-version: '1.23.0'
cache: false
- name: golangci-lint
uses: golangci/golangci-lint-action@v4.0.0
uses: golangci/golangci-lint-action@aaa42aa0628b4ae2578232a66b541047968fac86 #v6.1.0
with:
# Require: The version of golangci-lint to use.
# When `install-mode` is `binary` (default) the value can be v1.2 or v1.2.3 or `latest` to use the latest version.
# When `install-mode` is `goinstall` the value can be v1.2.3, `latest`, or the hash of a commit.
version: v1.58.2
version: v1.61.0

# Optional: working directory, useful for monorepos
# working-directory: somedir
Expand All @@ -35,7 +35,7 @@ jobs:
# Note: By default, the `.golangci.yml` file should be at the root of the repository.
# The location of the configuration file can be changed by using `--config=`
# args: --timeout=30m --config=/my/path/.golangci.yml --issues-exit-code=0
args: --timeout=5m --skip-files=.*_test\.go --skip-dirs=internal/controller/runtime/fsm/testing
args: --timeout=10m --skip-files=.*_test\.go --skip-dirs=internal/controller/runtime/fsm/testing --verbose

# Optional: show only new issues if it's a pull request. The default value is `false`.
# only-new-issues: true
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/run-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
- name: Set up go environment
uses: actions/setup-go@v5
with:
go-version: 1.22.4
go-version: 1.23.0
############################################################################################
- name: Run unit tests
run: make test
2 changes: 1 addition & 1 deletion .github/workflows/run-vuln-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@ jobs:
- name: vulncheck
uses: golang/govulncheck-action@v1
with:
go-version-input: 1.22.5
go-version-input: 1.23.0
go-package: ./...
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/kyma-project/infrastructure-manager

go 1.22.5
go 1.23.0

require (
github.com/gardener/gardener v1.100.0
Expand Down
2 changes: 1 addition & 1 deletion hack/shoot-comparator/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.22.5-alpine AS build
FROM golang:1.23.0-alpine3.20 as build
ARG TARGETOS
ARG TARGETARCH

Expand Down
3 changes: 1 addition & 2 deletions hack/shoot-comparator/go.mod
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
module github.com/kyma-project/infrastructure-manager/tools/shoot-comparator

go 1.22.5
go 1.23.0

require (
github.com/gardener/gardener v1.98.0
github.com/onsi/ginkgo/v2 v2.19.0
github.com/onsi/gomega v1.33.1
github.com/pkg/errors v0.9.1
github.com/spf13/cobra v1.8.1
github.com/stretchr/testify v1.9.0
gopkg.in/yaml.v3 v3.0.1
Expand Down
Loading