diff --git a/.github/workflows/golangci-lint.yml b/.github/workflows/golangci-lint.yml index 991d51ba..b337abfb 100644 --- a/.github/workflows/golangci-lint.yml +++ b/.github/workflows/golangci-lint.yml @@ -15,7 +15,7 @@ jobs: - name: Install Go uses: actions/setup-go@v3 with: - go-version: "1.20.12" + go-version: "1.22.2" - uses: actions/checkout@v2 with: fetch-depth: '0' diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 01631c8b..187c8bf1 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -20,7 +20,7 @@ jobs: - name: Install Go uses: actions/setup-go@v3 with: - go-version: "1.20.12" + go-version: "1.22.2" - name: Retrieve version run: | diff --git a/.github/workflows/test-all.yml b/.github/workflows/test-all.yml index 590293e5..d96ba117 100644 --- a/.github/workflows/test-all.yml +++ b/.github/workflows/test-all.yml @@ -13,7 +13,7 @@ jobs: - name: Install Go uses: actions/setup-go@v3 with: - go-version: "1.20.12" + go-version: "1.22.2" - name: Check out code into the Go module directory uses: actions/checkout@v2 with: diff --git a/.github/workflows/test-windows.yml b/.github/workflows/test-windows.yml index a4e6fe4a..bc203a53 100644 --- a/.github/workflows/test-windows.yml +++ b/.github/workflows/test-windows.yml @@ -13,7 +13,7 @@ jobs: - name: Install Go uses: actions/setup-go@v3 with: - go-version: "1.20.12" + go-version: "1.22.2" - name: Check out code into the Go module directory uses: actions/checkout@v2 - name: Run Tests diff --git a/.github/workflows/trivy-scan.yml b/.github/workflows/trivy-scan.yml index 0f6a64ef..c6227ae0 100644 --- a/.github/workflows/trivy-scan.yml +++ b/.github/workflows/trivy-scan.yml @@ -10,7 +10,7 @@ jobs: with: repo: carvel-dev/ytt tool: ytt - goVersion: "1.20.12" + goVersion: "1.22.2" secrets: githubToken: ${{ secrets.GITHUB_TOKEN }} slackWebhookURL: ${{ secrets.SLACK_WEBHOOK_URL }} diff --git a/go.mod b/go.mod index 884f37bb..6bd610a7 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/vmware-tanzu/carvel-ytt -go 1.20 +go 1.22 require ( github.com/BurntSushi/toml v1.2.1