feat: improve the ReadSchema and FindSQLDir functions to not require … #11
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }}/ |