diff --git a/Makefile b/Makefile index 05a26959..b8b0f6ce 100644 --- a/Makefile +++ b/Makefile @@ -5,7 +5,7 @@ OPENAPI_GENERATOR_CLI_DOCKER_TAG = v6.4.0 NODE_DOCKER_TAG = 18-alpine GO_DOCKER_TAG = 1 DOTNET_DOCKER_TAG = 6.0 -GOLINT_DOCKER_TAG = v1.51-alpine +GOLINT_DOCKER_TAG = v1.54-alpine BUSYBOX_DOCKER_TAG = 1 GRADLE_DOCKER_TAG = 8.2 PYTHON_DOCKER_TAG = 3.10 diff --git a/config/clients/go/template/.github/workflows/main.yaml b/config/clients/go/template/.github/workflows/main.yaml index ddbda61a..f74bad16 100644 --- a/config/clients/go/template/.github/workflows/main.yaml +++ b/config/clients/go/template/.github/workflows/main.yaml @@ -10,12 +10,15 @@ jobs: test: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.5.4 + with: + fetch-depth: 0 - - name: Set up Go - uses: actions/setup-go@v3 + - uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0 with: - go-version: '>=1.20.5' + cache-dependency-path: './go.sum' + check-latest: true + go-version: '>=1.21.1' - name: Build run: go build -v ./... diff --git a/config/clients/go/template/go.mod.mustache b/config/clients/go/template/go.mod.mustache index 19e0cf55..b1053e43 100644 --- a/config/clients/go/template/go.mod.mustache +++ b/config/clients/go/template/go.mod.mustache @@ -1,8 +1,8 @@ module {{gitHost}}/{{gitUserId}}/{{gitRepoId}}{{#isGoSubmodule}}/{{packageName}}{{/isGoSubmodule}} -go 1.20 +go 1.21.1 require ( - github.com/jarcoal/httpmock v1.3.0 - golang.org/x/sync v0.1.0 + github.com/jarcoal/httpmock v1.3.1 + golang.org/x/sync v0.4.0 ) diff --git a/config/clients/go/template/go.sum.mustache b/config/clients/go/template/go.sum.mustache index 6d7b8f5c..db97259d 100644 --- a/config/clients/go/template/go.sum.mustache +++ b/config/clients/go/template/go.sum.mustache @@ -1,6 +1,8 @@ github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= -github.com/jarcoal/httpmock v1.3.0 h1:2RJ8GP0IIaWwcC9Fp2BmVi8Kog3v2Hn7VXM3fTd+nuc= -github.com/jarcoal/httpmock v1.3.0/go.mod h1:3yb8rc4BI7TCBhFY8ng0gjuLKJNquuDNiPaZjnENuYg= +github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= +github.com/jarcoal/httpmock v1.3.1 h1:iUx3whfZWVf3jT01hQTO/Eo5sAYtB2/rqaUuOtpInww= +github.com/jarcoal/httpmock v1.3.1/go.mod h1:3yb8rc4BI7TCBhFY8ng0gjuLKJNquuDNiPaZjnENuYg= github.com/maxatome/go-testdeep v1.12.0 h1:Ql7Go8Tg0C1D/uMMX59LAoYK7LffeJQ6X2T04nTH68g= -golang.org/x/sync v0.1.0 h1:wsuoTGHzEhffawBOhz5CYhcrV4IdKZbEyZjBMuTp12o= -golang.org/x/sync v0.1.0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +github.com/maxatome/go-testdeep v1.12.0/go.mod h1:lPZc/HAcJMP92l7yI6TRz1aZN5URwUBUAfUNvrclaNM= +golang.org/x/sync v0.4.0 h1:zxkM55ReGkDlKSM+Fu41A+zmbZuaPVbGMzvvdUPznYQ= +golang.org/x/sync v0.4.0/go.mod h1:FU7BRWz2tNW+3quACPkgCx/L+uEAv1htQ0V83Z9Rj+Y=