diff --git a/.github/workflows/build-and-release.yml b/.github/workflows/build-and-release.yml index f5d373a..b3b7afd 100644 --- a/.github/workflows/build-and-release.yml +++ b/.github/workflows/build-and-release.yml @@ -19,9 +19,9 @@ jobs: with: fetch-depth: 1 - name: Setup Go - uses: actions/setup-go@v3 + uses: actions/setup-go@v4 with: - go-version: 1.19 + go-version: 1.21 - run: GOPROXY=direct GOSUMDB=off GO111MODULE=on go build . docker: name: Docker build and push diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 48c26c3..4720974 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,12 +13,12 @@ jobs: name: Check & Review code runs-on: ubuntu-latest steps: - - uses: actions/setup-go@v3 + - uses: actions/setup-go@v4 with: - go-version: 1.19 + go-version: 1.21 - uses: actions/checkout@master - name: golangci-lint - uses: golangci/golangci-lint-action@v3 + uses: golangci/golangci-lint-action@v4 with: # Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version. version: v1.49 @@ -40,9 +40,9 @@ jobs: with: fetch-depth: 1 - name: Setup Go - uses: actions/setup-go@v3 + uses: actions/setup-go@v4 with: - go-version: 1.19 + go-version: 1.21 - run: GOPROXY=https://proxy.golang.org,direct GOSUMDB=off GO111MODULE=on go install github.com/kisielk/errcheck@latest; /home/runner/go/bin/errcheck -tags draft ./... error_code_check: name: Error code utility check @@ -53,9 +53,9 @@ jobs: with: fetch-depth: 1 - name: Setup Go - uses: actions/setup-go@v3 + uses: actions/setup-go@v4 with: - go-version: 1.19 + go-version: 1.21 - run: | errWillHave="level=error" GOPROXY=https://proxy.golang.org,direct GOSUMDB=off GO111MODULE=on go install github.com/layer5io/meshkit/cmd/errorutil; @@ -75,9 +75,9 @@ jobs: with: fetch-depth: 1 - name: Setup Go - uses: actions/setup-go@v3 + uses: actions/setup-go@v4 with: - go-version: 1.19 + go-version: 1.21 - uses: dominikh/staticcheck-action@v1.2.0 with: install-go: false @@ -91,9 +91,9 @@ jobs: with: fetch-depth: 1 - name: Setup Go - uses: actions/setup-go@v3 + uses: actions/setup-go@v4 with: - go-version: 1.19 + go-version: 1.21 - run: GOPROXY=https://proxy.golang.org,direct GOSUMDB=off GO111MODULE=on go vet -tags draft ./... sec_check: name: Security check @@ -121,9 +121,9 @@ jobs: with: fetch-depth: 1 - name: Setup Go - uses: actions/setup-go@v3 + uses: actions/setup-go@v4 with: - go-version: 1.19 + go-version: 1.21 - name: Create cluster using KinD uses: engineerd/setup-kind@v0.5.0 with: diff --git a/.github/workflows/multi-platform.yml b/.github/workflows/multi-platform.yml index 8f943e1..433e59e 100644 --- a/.github/workflows/multi-platform.yml +++ b/.github/workflows/multi-platform.yml @@ -80,7 +80,7 @@ jobs: - name: Docker Meta id: meta - uses: docker/metadata-action@v3 + uses: docker/metadata-action@v4 with: images: ${{ secrets.IMAGE_NAME }} flavor: | diff --git a/Dockerfile b/Dockerfile index 96e2856..01c9db8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.19 as build-env +FROM golang:1.21 as build-env ARG VERSION ARG GIT_COMMITSHA diff --git a/go.mod b/go.mod index 4f26936..b7ad77b 100644 --- a/go.mod +++ b/go.mod @@ -1,12 +1,12 @@ module github.com/layer5io/meshery-cilium -go 1.19 +go 1.21 replace github.com/kudobuilder/kuttl => github.com/layer5io/kuttl v0.4.1-0.20200723152044-916f10574334 require ( - github.com/layer5io/meshery-adapter-library v0.6.8 - github.com/layer5io/meshkit v0.6.48 + github.com/layer5io/meshery-adapter-library v0.6.9 + github.com/layer5io/meshkit v0.6.64 github.com/layer5io/service-mesh-performance v0.3.4 gopkg.in/yaml.v2 v2.4.0 )