Skip to content

Commit

Permalink
bump go to 1.23 and deps
Browse files Browse the repository at this point in the history
  • Loading branch information
mtulio committed Dec 28, 2024
1 parent b2dccd7 commit c50fc5b
Show file tree
Hide file tree
Showing 7 changed files with 188 additions and 215 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,13 @@ permissions:
pull-requests: read

env:
GO_VERSION: 1.22
GOLANGCI_LINT_VERSION: v1.59
GO_VERSION: 1.23
TEST_DATA_URL: "https://d23912a6309zf7.cloudfront.net/ci"

jobs:
e2e-cmd_report:
name: "e2e-cmd_report"
runs-on: ubuntu-latest
runs-on: "ubuntu-24.04"
steps:
- name: Download artifacts
uses: actions/download-artifact@v4
Expand Down Expand Up @@ -50,7 +49,7 @@ jobs:
e2e-cmd_adm-parse-etcd-logs:
name: "e2e-cmd_adm-parse-etcd-logs"
runs-on: ubuntu-latest
runs-on: "ubuntu-24.04"
steps:
- name: Download artifacts
uses: actions/download-artifact@v4
Expand Down Expand Up @@ -114,7 +113,7 @@ jobs:
e2e-cmd_adm-parse-metrics:
name: "e2e-cmd_adm-parse-metrics"
runs-on: ubuntu-latest
runs-on: "ubuntu-24.04"
steps:
- name: Download artifacts
uses: actions/download-artifact@v4
Expand Down Expand Up @@ -148,7 +147,7 @@ jobs:
e2e-cmd_adm-baseline:
name: "e2e-cmd_adm-baseline"
runs-on: ubuntu-latest
runs-on: "ubuntu-24.04"
steps:
- name: Download artifacts
uses: actions/download-artifact@v4
Expand Down
9 changes: 4 additions & 5 deletions .github/workflows/go.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@ on:
- 'v*.*.*'

env:
GO_VERSION: 1.22
GOLANGCI_LINT_VERSION: v1.59
GO_VERSION: 1.23

jobs:
# Pre jobs: Linter
Expand All @@ -27,7 +26,7 @@ jobs:
uses: ./.github/workflows/pre_reviewer.yaml

go-test:
runs-on: ubuntu-latest
runs-on: "ubuntu-24.04"
needs:
- linters
- reviewer
Expand All @@ -40,7 +39,7 @@ jobs:
run: make test

build:
runs-on: ubuntu-latest
runs-on: "ubuntu-24.04"
needs: go-test
steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -92,7 +91,7 @@ jobs:
#
release:
if: startsWith(github.ref, 'refs/tags/') || github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
runs-on: "ubuntu-24.04"
needs: e2e
env:
PLATFORMS: linux/amd64
Expand Down
20 changes: 12 additions & 8 deletions .github/workflows/pre_linters.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,13 @@ permissions:
checks: write

env:
GO_VERSION: 1.22
GOLANGCI_LINT_VERSION: v1.59
STATIC_CHECK_VERSION: 2023.1.7
GO_VERSION: 1.23
# https://github.com/golangci/golangci-lint
# https://github.com/marketplace/actions/golangci-lint
GOLANGCI_LINT_VERSION: v1.62.2
# https://github.com/dominikh/staticcheck-action/releases
# https://github.com/dominikh/go-tools/releases
STATIC_CHECK_VERSION: 2024.1.1

jobs:
# shell:
Expand All @@ -32,7 +36,7 @@ jobs:
# path: "hack/*.sh"

yaml:
runs-on: ubuntu-latest
runs-on: "ubuntu-24.04"
steps:
- name: Checkout code
uses: actions/checkout@v4
Expand All @@ -47,7 +51,7 @@ jobs:
yamllint data/templates/plugins/*.yaml
go_lint:
runs-on: ubuntu-latest
runs-on: "ubuntu-24.04"
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
Expand All @@ -65,21 +69,21 @@ jobs:
only-new-issues: true

go_static:
runs-on: ubuntu-latest
runs-on: "ubuntu-24.04"
needs: go_lint
steps:
- uses: actions/checkout@v4
- uses: WillAbides/[email protected]
with:
go-version: ${{ env.GO_VERSION }}
- name: Run static code analysis
uses: dominikh/[email protected].0
uses: dominikh/[email protected].1
with:
version: "${{ env.STATIC_CHECK_VERSION }}"
install-go: false

go_vet:
runs-on: ubuntu-latest
runs-on: "ubuntu-24.04"
needs: go_lint
steps:
- uses: actions/checkout@v4
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/pre_reviewer.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,6 @@ permissions:
issues: read
pull-requests: write

env:
GO_VERSION: 1.22
GOLANGCI_LINT_VERSION: v1.59

jobs:
# reviewdog / misspell: https://github.com/reviewdog/action-misspell
misspell:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/static-website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
runs-on: "ubuntu-24.04"
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down
106 changes: 53 additions & 53 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,109 +1,109 @@
module github.com/redhat-openshift-ecosystem/provider-certification-tool

go 1.22.0
go 1.23.0

toolchain go1.22.4
toolchain go1.23.4

require (
github.com/openshift/api v0.0.0-20240527133614-ba11c1587003 // github.com/openshift/[email protected]
github.com/openshift/client-go v0.0.0-20240528061634-b054aa794d87 // github.com/openshift/[email protected]
github.com/openshift/api v0.0.0-20241222205659-188620a9ab5e // github.com/openshift/[email protected]
github.com/openshift/client-go v0.0.0-20241217083110-35abaf51555b // github.com/openshift/[email protected]
github.com/pkg/errors v0.9.1
github.com/sirupsen/logrus v1.9.3
github.com/spf13/cobra v1.8.0
github.com/spf13/viper v1.18.2
github.com/spf13/cobra v1.8.1
github.com/spf13/viper v1.19.0
github.com/stretchr/testify v1.9.0
github.com/vmware-tanzu/sonobuoy v0.57.1
golang.org/x/sync v0.6.0
k8s.io/api v0.30.1
k8s.io/apimachinery v0.30.1
k8s.io/client-go v0.30.1
github.com/vmware-tanzu/sonobuoy v0.57.2
golang.org/x/sync v0.10.0
k8s.io/api v0.32.0
k8s.io/apimachinery v0.32.0
k8s.io/client-go v0.32.0
)

require github.com/aws/aws-sdk-go v1.55.3
require github.com/aws/aws-sdk-go v1.55.5

require (
github.com/go-echarts/go-echarts/v2 v2.3.3
github.com/go-echarts/go-echarts/v2 v2.4.6
github.com/montanaflynn/stats v0.7.1
github.com/ulikunitz/xz v0.5.11
github.com/ulikunitz/xz v0.5.12
gopkg.in/yaml.v2 v2.4.0
k8s.io/utils v0.0.0-20240102154912-e7106e64919e
k8s.io/utils v0.0.0-20241210054802-24370beab758
)

require (
github.com/google/go-cmp v0.6.0
github.com/hashicorp/go-retryablehttp v0.7.7
github.com/jedib0t/go-pretty/v6 v6.5.9
github.com/jedib0t/go-pretty/v6 v6.6.5
)

require (
github.com/briandowns/spinner v1.23.0 // indirect
github.com/cpuguy83/go-md2man/v2 v2.0.3 // indirect
github.com/briandowns/spinner v1.23.1 // indirect
github.com/cpuguy83/go-md2man/v2 v2.0.6 // indirect
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
github.com/emicklei/go-restful/v3 v3.11.3 // indirect
github.com/evanphx/json-patch v4.12.0+incompatible // indirect
github.com/fatih/color v1.16.0 // indirect
github.com/fsnotify/fsnotify v1.7.0 // indirect
github.com/go-logr/logr v1.4.1 // indirect
github.com/go-openapi/jsonpointer v0.20.3 // indirect
github.com/go-openapi/jsonreference v0.20.5 // indirect
github.com/go-openapi/swag v0.22.10 // indirect
github.com/emicklei/go-restful/v3 v3.12.1 // indirect
github.com/fatih/color v1.18.0 // indirect
github.com/fsnotify/fsnotify v1.8.0 // indirect
github.com/fxamacker/cbor/v2 v2.7.0 // indirect
github.com/go-logr/logr v1.4.2 // indirect
github.com/go-openapi/jsonpointer v0.21.0 // indirect
github.com/go-openapi/jsonreference v0.21.0 // indirect
github.com/go-openapi/swag v0.23.0 // indirect
github.com/gogo/protobuf v1.3.2 // indirect
github.com/golang/protobuf v1.5.4 // indirect
github.com/google/gnostic-models v0.6.9-0.20230804172637-c7be7c783f49 // indirect
github.com/google/go-cmp v0.6.0 // indirect
github.com/google/gnostic-models v0.6.9 // indirect
github.com/google/gofuzz v1.2.0 // indirect
github.com/google/uuid v1.6.0 // indirect
github.com/gorilla/mux v1.8.1 // indirect
github.com/gorilla/websocket v1.5.1 // indirect
github.com/gorilla/websocket v1.5.3 // indirect
github.com/hashicorp/go-cleanhttp v0.5.2 // indirect
github.com/hashicorp/go-version v1.6.0 // indirect
github.com/hashicorp/go-version v1.7.0 // indirect
github.com/hashicorp/hcl v1.0.0 // indirect
github.com/imdario/mergo v0.3.13 // indirect
github.com/inconshreveable/mousetrap v1.1.0 // indirect
github.com/jmespath/go-jmespath v0.4.0 // indirect
github.com/josharian/intern v1.0.0 // indirect
github.com/json-iterator/go v1.1.12 // indirect
github.com/magiconair/properties v1.8.7 // indirect
github.com/mailru/easyjson v0.7.7 // indirect
github.com/magiconair/properties v1.8.9 // indirect
github.com/mailru/easyjson v0.9.0 // indirect
github.com/mattn/go-colorable v0.1.13 // indirect
github.com/mattn/go-isatty v0.0.20 // indirect
github.com/mattn/go-runewidth v0.0.15 // indirect
github.com/mattn/go-runewidth v0.0.16 // indirect
github.com/mitchellh/mapstructure v1.5.0 // indirect
github.com/moby/spdystream v0.2.0 // indirect
github.com/moby/spdystream v0.5.0 // indirect
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
github.com/modern-go/reflect2 v1.0.2 // indirect
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
github.com/mxk/go-flowrate v0.0.0-20140419014527-cca7078d478f // indirect
github.com/pelletier/go-toml/v2 v2.1.1 // indirect
github.com/pelletier/go-toml/v2 v2.2.3 // indirect
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
github.com/rifflock/lfshook v0.0.0-20180920164130-b9218ef580f5 // indirect
github.com/rivo/uniseg v0.2.0 // indirect
github.com/rivo/uniseg v0.4.7 // indirect
github.com/russross/blackfriday/v2 v2.1.0 // indirect
github.com/sagikazarmark/locafero v0.4.0 // indirect
github.com/sagikazarmark/locafero v0.6.0 // indirect
github.com/sagikazarmark/slog-shim v0.1.0 // indirect
github.com/satori/go.uuid v1.2.1-0.20181028125025-b2ce2384e17b // indirect
github.com/sethgrid/pester v1.2.0 // indirect
github.com/sourcegraph/conc v0.3.0 // indirect
github.com/spf13/afero v1.11.0 // indirect
github.com/spf13/cast v1.6.0 // indirect
github.com/spf13/cast v1.7.1 // indirect
github.com/spf13/pflag v1.0.5 // indirect
github.com/subosito/gotenv v1.6.0 // indirect
github.com/x448/float16 v0.8.4 // indirect
go.uber.org/multierr v1.11.0 // indirect
golang.org/x/exp v0.0.0-20240222234643-814bf88cf225 // indirect
golang.org/x/net v0.23.0 // indirect
golang.org/x/oauth2 v0.17.0 // indirect
golang.org/x/sys v0.20.0 // indirect
golang.org/x/term v0.18.0 // indirect
golang.org/x/text v0.14.0 // indirect
golang.org/x/time v0.5.0 // indirect
google.golang.org/appengine v1.6.8 // indirect
google.golang.org/protobuf v1.33.0 // indirect
golang.org/x/exp v0.0.0-20241217172543-b2144cdd0a67 // indirect
golang.org/x/net v0.33.0 // indirect
golang.org/x/oauth2 v0.24.0 // indirect
golang.org/x/sys v0.28.0 // indirect
golang.org/x/term v0.27.0 // indirect
golang.org/x/text v0.21.0 // indirect
golang.org/x/time v0.8.0 // indirect
google.golang.org/protobuf v1.36.1 // indirect
gopkg.in/evanphx/json-patch.v4 v4.12.0 // indirect
gopkg.in/inf.v0 v0.9.1 // indirect
gopkg.in/ini.v1 v1.67.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
k8s.io/klog v1.0.0 // indirect
k8s.io/klog/v2 v2.120.1 // indirect
k8s.io/kube-openapi v0.0.0-20240228011516-70dd3763d340 // indirect
sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd // indirect
sigs.k8s.io/structured-merge-diff/v4 v4.4.1 // indirect
sigs.k8s.io/yaml v1.3.0 // indirect
k8s.io/klog/v2 v2.130.1 // indirect
k8s.io/kube-openapi v0.0.0-20241212222426-2c72e554b1e7 // indirect
sigs.k8s.io/json v0.0.0-20241014173422-cfa47c3a1cc8 // indirect
sigs.k8s.io/structured-merge-diff/v4 v4.5.0 // indirect
sigs.k8s.io/yaml v1.4.0 // indirect
)
Loading

0 comments on commit c50fc5b

Please sign in to comment.