diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index b9ec1e7..81574b2 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -14,17 +14,17 @@ jobs: strategy: matrix: os: [ubuntu-latest] - go: [1.21] - name: ${{ matrix.os }} @ Go ${{ matrix.go }} + + name: ${{ matrix.os }} runs-on: ${{ matrix.os }} steps: - name: Checkout Code uses: actions/checkout@v4 - - name: Set up Go ${{ matrix.go }} + - name: Set up Go uses: actions/setup-go@v5 with: - go-version: ${{ matrix.go }} + go-version-file: go.mod - name: Set GOPATH and PATH run: | diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4f1b627..2add86a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -35,7 +35,8 @@ jobs: - name: Set up Go uses: actions/setup-go@v5 with: - go-version: 1.21 + go-version-file: go.mod + - name: Login to DockerHub uses: docker/login-action@v3 with: diff --git a/Dockerfile b/Dockerfile index cb312f4..a177f00 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -ARG GO_VERSION="1.21" +ARG GO_VERSION="1.23.5" #--------------------------------------------# #--------Build KSOPS and Kustomize-----------# diff --git a/go.mod b/go.mod index 84bdf06..f12db24 100644 --- a/go.mod +++ b/go.mod @@ -1,7 +1,6 @@ module github.com/viaduct-ai/kustomize-sops -go 1.22 -toolchain go1.22.9 +go 1.23.5 require ( github.com/getsops/sops/v3 v3.9.2