Skip to content

feat(#249): MySQL syntax support (Phase 2) #698

feat(#249): MySQL syntax support (Phase 2)

feat(#249): MySQL syntax support (Phase 2) #698

Workflow file for this run

name: Lint
on:
push:
branches: [ main, develop ]
pull_request:
branches: [ main ]
jobs:
golangci:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.24'
- name: golangci-lint
uses: golangci/golangci-lint-action@v7
with:
version: v2.6.2
args: --timeout=10m --config=.golangci.yml
verify: false
- name: Run go fmt
run: |
if [ "$(gofmt -s -l . | wc -l)" -gt 0 ]; then
echo "Please run 'go fmt ./...'"
gofmt -s -l .
exit 1
fi
- name: Run go vet
run: go vet ./...
- name: Run staticcheck
uses: dominikh/staticcheck-action@v1.3.0
with:
version: "latest"
install-go: false