Skip to content

Merge pull request #64 from daisuke0925m/fix/TestShouldRunWithHeavyWork #92

Merge pull request #64 from daisuke0925m/fix/TestShouldRunWithHeavyWork

Merge pull request #64 from daisuke0925m/fix/TestShouldRunWithHeavyWork #92

Workflow file for this run

name: Continuous Integration
on: [push, pull_request]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: '1.21'
- name: Run linters
uses: golangci/golangci-lint-action@v3
with:
version: v1.55.2
integration:
runs-on: ubuntu-latest
strategy:
matrix:
go: ["1.18.x", "1.19.x", "1.20.x", "1.21.x"]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go }}
- name: Run integration tests
env:
MYSQL_DSN: AUTO
PSQL_DSN: AUTO
run: go test ./...