🎨 style: Now the other SQL strings is following my custom format … #7
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 Library | |
on: | |
push: | |
branches: | |
- main | |
- dev | |
permissions: | |
contents: read | |
defaults: | |
run: | |
shell: bash | |
jobs: | |
test: | |
name: Test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Actions Checkout | |
uses: actions/checkout@v2 | |
with: | |
submodules: recursive | |
- name: Setup Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: '1.22.x' | |
- name: Install Dependencies | |
run: | | |
go mod download | |
go install github.com/gotesttools/gotestfmt/v2/cmd/gotestfmt@latest | |
- name: Build | |
run: | | |
go build github.com/kevinmarquesp/go-postr/cmd/server | |
- name: Test | |
run: | | |
mkdir -vp ./tmp # For the mock SQLite3 database! | |
go test -v ./... -json 2>&1 | gotestfmt |