diff --git a/.github/workflows/check-api-spec-updates.yaml b/.github/workflows/check-api-spec-updates.yaml index e0ba390..6695aac 100644 --- a/.github/workflows/check-api-spec-updates.yaml +++ b/.github/workflows/check-api-spec-updates.yaml @@ -34,7 +34,7 @@ jobs: - uses: actions/setup-go@v5 if: steps.diff.outputs.isNew == 'true' with: - go-version: 1.18 + go-version-file: go.mod - name: Generate SDK using new spec id: diff_sdk if: steps.diff.outputs.isNew == 'true' diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index 4a19677..92209e1 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -16,7 +16,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-go@v5 with: - go-version: 1.18 + go-version-file: go.mod - uses: golangci/golangci-lint-action@v3 with: version: latest diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 0f540e3..975889f 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -21,13 +21,13 @@ jobs: - name: Set up Go uses: actions/setup-go@v5 with: - go-version: 1.18 + go-version-file: go.mod - name: Mod tidy run: go mod tidy - name: Test run: go test -race -coverprofile=coverage.txt -covermode=atomic - name: e2e test - run: go test -tags=acctest + run: make testacc env: NEON_API_KEY: ${{ secrets.NEON_API_KEY }} - name: Upload coverage to Codecov