Skip to content

Improve version handling and dependency upgrades #26

Improve version handling and dependency upgrades

Improve version handling and dependency upgrades #26

Workflow file for this run

name: Go
on:
push:
branches:
- master
paths:
- "**.go"
- "go.mod"
- "go.sum"
- ".golangci.yml"
- ".github/**"
- "Makefile"
pull_request:
branches:
- master
paths:
- "**.go"
- "go.mod"
- "go.sum"
- ".golangci.yml"
- ".github/**"
- "Makefile"
jobs:
quality:
name: Code Quality
runs-on: ubuntu-latest
strategy:
matrix:
go-version: [ '1.22', '1.23' ]
timeout-minutes: 15
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Go ${{ matrix.go-version }}
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
cache: true
check-latest: true
cache-dependency-path: "go.sum"
- name: Lint
run: make audit
- name: Build
run: make build
- name: Test
run: make test
- name: Run
run: make sqlc