Skip to content

Commit

Permalink
chore: aligned the version used by the Go setup action with the proje…
Browse files Browse the repository at this point in the history
…ct ver.

chore: reuse makefile to run acc tests.

Signed-off-by: Dmitry Kisler <admin@dkisler.com>
  • Loading branch information
kislerdm committed Dec 21, 2023
1 parent eadd07a commit f23f23e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/check-api-spec-updates.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 2 additions & 2 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f23f23e

Please sign in to comment.