Skip to content

Bump actions/checkout from 3 to 4 #67

Bump actions/checkout from 3 to 4

Bump actions/checkout from 3 to 4 #67

Workflow file for this run

name: "Tests"
on:
push:
paths:
- "*.go"
- "go.mod"
pull_request:
branches:
- master
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
name: Test
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.18
- 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
env:
NEON_API_KEY: ${{ secrets.NEON_API_KEY }}
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3