Skip to content

Pgxmock batch example in Go #334

Pgxmock batch example in Go

Pgxmock batch example in Go #334

Workflow file for this run

name: Build & Test
on:
push:
branches:
- master
pull_request:
workflow_dispatch:
jobs:
build-and-test:
if: true # false to skip job during debug
name: Test and Build on Ubuntu
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Set up Golang
uses: actions/setup-go@v5
with:
go-version: '1.21'
- name: Get dependencies
run: |
go mod download
go version
- name: GolangCI-Lint
uses: golangci/golangci-lint-action@v6
with:
version: latest
- name: Test
run: go test -v -coverprofile=profile.cov
- name: Coveralls
uses: shogo82148/actions-goveralls@v1
with:
path-to-profile: profile.cov