fix: fix pipeline and tests
Some checks failed
CI Workflow / Check GoReleaser config (pull_request) Successful in 9s
CI Workflow / CI run build and linting (pull_request) Failing after 11s
CI Workflow / Test readiness for publishing provider (pull_request) Failing after 38s
CI Workflow / Code coverage report (pull_request) Has been skipped
CI Workflow / CI run tests (pull_request) Failing after 18m35s

This commit is contained in:
Marcel_Henselin 2026-03-02 08:57:46 +01:00
parent 469ed9e056
commit c63d1018da
7 changed files with 17 additions and 13 deletions

View file

@ -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'

View file

@ -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'

View file

@ -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

View file

@ -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: |

View file

@ -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: |

View file

@ -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

View file

@ -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,