Skip to content

Respect structs which implement sql.Scanner #131

Respect structs which implement sql.Scanner

Respect structs which implement sql.Scanner #131

Workflow file for this run

---
name: go test
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
name: go test
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
go:
- '1.17'
- '1.18'
- '1.19'
- '1.20'
- '1.21'
steps:
- name: Set up Go 1.x
uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go }}
id: go
- uses: actions/checkout@v3
- name: Lint
uses: golangci/golangci-lint-action@v3
with:
version: v1.51
- name: Test
run: go test -v -coverprofile=.coverprofile .
- name: Report coveralls.io
uses: shogo82148/actions-goveralls@v1
with:
path-to-profile: .coverprofile
flag-name: Go-${{ matrix.go }}