diff --git a/.github/actions/acc_test/action.yaml b/.github/actions/acc_test/action.yaml index 828e1011..81cb4b9c 100644 --- a/.github/actions/acc_test/action.yaml +++ b/.github/actions/acc_test/action.yaml @@ -51,9 +51,9 @@ runs: java-version: '21' - name: Install Go ${{ inputs.go-version }} - uses: actions/setup-go@v6 + uses: https://code.forgejo.org/actions/setup-go@v6 with: - go-version: ${{ inputs.go-version }} + # go-version: ${{ inputs.go-version }} check-latest: true go-version-file: 'go.mod' diff --git a/.github/actions/build/action.yaml b/.github/actions/build/action.yaml index cf19610a..f9b243e7 100644 --- a/.github/actions/build/action.yaml +++ b/.github/actions/build/action.yaml @@ -26,9 +26,9 @@ runs: uses: actions/checkout@v6 - name: Install Go ${{ inputs.go-version }} - uses: actions/setup-go@v6 + uses: https://code.forgejo.org/actions/setup-go@v6 with: - go-version: ${{ inputs.go-version }} + # go-version: ${{ inputs.go-version }} check-latest: true go-version-file: 'go.mod' diff --git a/.github/actions/setup-cache-go/action.yaml b/.github/actions/setup-cache-go/action.yaml index 81f0d17d..d352db76 100644 --- a/.github/actions/setup-cache-go/action.yaml +++ b/.github/actions/setup-cache-go/action.yaml @@ -26,9 +26,9 @@ runs: uses: https://code.forgejo.org/actions/setup-go@v6 id: go-version with: - go-version: ${{ inputs.go-version }} + # go-version: ${{ inputs.go-version }} check-latest: true # Always check for the latest patch release - # go-version-file: "go.mod" + go-version-file: "go.mod" # do not cache dependencies, we do this manually cache: false diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 8897094b..94c549a7 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -38,9 +38,11 @@ jobs: apt-get -y -qq install jq python3 python3-pip python-is-python3 s3cmd git make wget - name: Setup Go - uses: actions/setup-go@v6 + uses: https://code.forgejo.org/actions/setup-go@v6 with: - go-version: ${{ env.GO_VERSION }} + # go-version: ${{ env.GO_VERSION }} + check-latest: true + go-version-file: 'go.mod' - name: Install go tools run: | diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 6d7e89b3..2a80d81a 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -44,9 +44,11 @@ jobs: apt-get -y -qq install jq python3 python3-pip python-is-python3 s3cmd git make wget - name: Setup Go - uses: actions/setup-go@v6 + uses: https://code.forgejo.org/actions/setup-go@v6 with: - go-version: ${{ env.GO_VERSION }} + # go-version: ${{ env.GO_VERSION }} + check-latest: true + go-version-file: 'go.mod' - name: Install go tools run: | diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index ac77cdaa..79547c9a 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -22,10 +22,12 @@ jobs: with: # Allow goreleaser to access older tag information. fetch-depth: 0 - - uses: actions/setup-go@v5 + + - uses: https://code.forgejo.org/actions/setup-go@v6 with: go-version-file: "go.mod" cache: true + - name: Import GPG key uses: crazy-max/ghaction-import-gpg@v6 id: import_gpg diff --git a/stackit/internal/services/postgresflexalpha/postgresflex_acc_test.go b/stackit/internal/services/postgresflexalpha/postgresflex_acc_test.go index 800b862b..84e76997 100644 --- a/stackit/internal/services/postgresflexalpha/postgresflex_acc_test.go +++ b/stackit/internal/services/postgresflexalpha/postgresflex_acc_test.go @@ -259,7 +259,6 @@ func TestAccInstanceWithUsers(t *testing.T) { PreCheck: func() { testAccPreCheck(t) t.Logf(" ... working on instance %s", data.TfName) - testInstances = append(testInstances, data.TfName) }, CheckDestroy: testAccCheckPostgresFlexDestroy, ProtoV6ProviderFactories: testutils.TestAccProtoV6ProviderFactories, @@ -312,7 +311,6 @@ func TestAccInstanceWithDatabases(t *testing.T) { PreCheck: func() { testAccPreCheck(t) t.Logf(" ... working on instance %s", data.TfName) - testInstances = append(testInstances, data.TfName) }, CheckDestroy: testAccCheckPostgresFlexDestroy, ProtoV6ProviderFactories: testutils.TestAccProtoV6ProviderFactories,