Skip to content

Auto-migrate config schema between versions #72

Auto-migrate config schema between versions

Auto-migrate config schema between versions #72

Workflow file for this run

name: Build and lint
on:
pull_request:
types: [opened, edited, synchronize]
permissions:
contents: write
pull-requests: read
checks: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: "1.23"
- name: Deps
run: |
go mod tidy
go fmt ./...
sudo apt install gcc gcc-multilib libgl1-mesa-dev xorg-dev -y
- name: Build
run: CGO_ENABLED=1 go build *.go
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: "1.23"
- name: Deps
run: |
go mod tidy
go fmt ./...
sudo apt install gcc gcc-multilib libgl1-mesa-dev xorg-dev -y
- name: Lint
uses: golangci/golangci-lint-action@v6
with:
version: latest