Skip to content

Use custom sql.Scanner and driver.Valuer if exist #9

Use custom sql.Scanner and driver.Valuer if exist

Use custom sql.Scanner and driver.Valuer if exist #9

Workflow file for this run

name: test
env:
GO_VERSION: "1.20"
on:
pull_request:
push:
branches:
- main
- master
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: ${{ env.GO_VERSION }}
- name: Install dependencies
run: go mod download
- name: Run tests with coverage
run: go test -v -coverprofile=coverage.out ./...
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: ./coverage.out