Skip to content

feat: improve the ReadSchema and FindSQLDir functions to not require … #11

feat: improve the ReadSchema and FindSQLDir functions to not require …

feat: improve the ReadSchema and FindSQLDir functions to not require … #11

name: test-psqlutil
on:
# Trigger the workflow on push request if the files
# in ./psqltest package were modified
push:
branches:
- main
paths:
- psqlutil/**
env:
PACKAGE: psqlutil
GO_VERSION: 1.19
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Install Go
uses: actions/setup-go@v3
with:
go-version: ${{ env.GO_VERSION }}
- name: Lint
uses: golangci/golangci-lint-action@v3
with:
version: latest
args: --timeout=5m -c=$GITHUB_WORKSPACE/.golangci.yml
working-directory: ./${{ env.PACKAGE }}/