Skip to content

Merge pull request #2 from tqrcisio/fix/background-schema-loading #16

Merge pull request #2 from tqrcisio/fix/background-schema-loading

Merge pull request #2 from tqrcisio/fix/background-schema-loading #16

Workflow file for this run

name: CI
on:
push:
branches: [ main, develop ]
workflow_dispatch:
jobs:
test:
name: Test
runs-on: ubuntu-latest
strategy:
matrix:
go-version: ['1.25']
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
cache: true
- name: Download dependencies
run: go mod download
- name: Run tests
run: go test -v ./pkg/...
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.25'
cache: true
- name: Run golangci-lint
uses: golangci/golangci-lint-action@v6
with:
version: latest
install-mode: goinstall
args: --timeout=5m