diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index a625f50d4d..8933062a00 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -7,7 +7,7 @@ on: branches: [ main ] schedule: - cron: '41 1 * * 0' - + jobs: analyze: @@ -23,6 +23,11 @@ jobs: - name: Checkout repository uses: actions/checkout@v4 + - name: Setup Go + uses: actions/setup-go@v5 + with: + go-version: 1.22.x + - name: Initialize CodeQL uses: github/codeql-action/init@v2 with: diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 04f0c43146..4a6f8892d4 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -16,7 +16,7 @@ jobs: - name: Setup Go uses: actions/setup-go@v5 with: - go-version: 1.21.x + go-version: 1.22.x - name: Pull external libraries run: make vendor @@ -39,7 +39,7 @@ jobs: - name: Setup Go uses: actions/setup-go@v5 with: - go-version: 1.21.x + go-version: 1.22.x # No need to download cached dependencies when running gofmt. cache: false diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index bb02dbb74c..fa58c3458f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -17,7 +17,7 @@ jobs: - name: Setup Go uses: actions/setup-go@v5 with: - go-version: 1.21.x + go-version: 1.22.x - name: Import GPG key id: import_gpg diff --git a/.github/workflows/schema.yml b/.github/workflows/schema.yml index 5a7f6d3909..b9fd5c3ead 100644 --- a/.github/workflows/schema.yml +++ b/.github/workflows/schema.yml @@ -45,7 +45,7 @@ jobs: - name: "Setup Go" uses: actions/setup-go@v5 with: - go-version: 1.21.x + go-version: 1.22.x - name: "Setup Terraform" uses: hashicorp/setup-terraform@v2 diff --git a/go.mod b/go.mod index bf06f84e0e..15c948f42d 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/databricks/terraform-provider-databricks -go 1.21 +go 1.22 require ( github.com/databricks/databricks-sdk-go v0.41.0