From afdb9dfa577e8a544735dd76868a18bfab5ae60d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonathan=20Pich=C3=A9?= Date: Tue, 9 Apr 2024 11:28:30 -0400 Subject: [PATCH] update to go 1.22 run go mod tidy --- .github/workflows/pr.yml | 12 ++++++------ .github/workflows/tag.yml | 2 +- go.mod | 2 +- go.sum | 1 + 4 files changed, 9 insertions(+), 8 deletions(-) diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 9989711e8..7d6b4bcdf 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -11,7 +11,7 @@ jobs: steps: - uses: actions/setup-go@v4 with: - go-version: '1.18' + go-version: '1.22' - uses: actions/checkout@v4 - name: Run static checks @@ -22,7 +22,7 @@ jobs: steps: - uses: actions/setup-go@v4 with: - go-version: '1.18' + go-version: '1.22' - uses: actions/checkout@v4 - run: make build @@ -32,7 +32,7 @@ jobs: steps: - uses: actions/setup-go@v4 with: - go-version: '1.18' + go-version: '1.22' - uses: actions/checkout@v4 - run: make fmtcheck @@ -48,7 +48,7 @@ jobs: steps: - uses: actions/setup-go@v4 with: - go-version: '1.18' + go-version: '1.22' - uses: actions/checkout@v4 - name: Install Terraform @@ -64,7 +64,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-go@v4 with: - go-version: '1.18' + go-version: '1.22' - uses: goreleaser/goreleaser-action@b508e2e3ef3b19d4e4146d4f8fb3ba9db644a757 with: @@ -80,7 +80,7 @@ jobs: fetch-depth: 0 # goreleaser needs the whole history to build the release notes - uses: actions/setup-go@v4 with: - go-version: '1.18' + go-version: '1.22' - uses: goreleaser/goreleaser-action@b508e2e3ef3b19d4e4146d4f8fb3ba9db644a757 with: diff --git a/.github/workflows/tag.yml b/.github/workflows/tag.yml index 25e0ab4d8..26d38126f 100644 --- a/.github/workflows/tag.yml +++ b/.github/workflows/tag.yml @@ -19,7 +19,7 @@ jobs: - name: Setup Go uses: actions/setup-go@v4 with: - go-version: '1.18' + go-version: '1.22' - name: Checkout uses: actions/checkout@v4 diff --git a/go.mod b/go.mod index 3967122c1..c74e5d27b 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/coveooss/terragrunt/v2 -go 1.18 +go 1.22 require ( github.com/alecthomas/kingpin/v2 v2.4.0 diff --git a/go.sum b/go.sum index 9fb8ce9ea..6c2d662e7 100644 --- a/go.sum +++ b/go.sum @@ -732,6 +732,7 @@ golang.org/x/sync v0.0.0-20200625203802-6e8e738ad208/go.mod h1:RxMgew5VJxzue5/jJ golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.1.0 h1:wsuoTGHzEhffawBOhz5CYhcrV4IdKZbEyZjBMuTp12o= +golang.org/x/sync v0.1.0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sys v0.0.0-20170830134202-bb24a47a89ea/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=