Skip to content

chore: modernize build tooling and lint configuration #59

chore: modernize build tooling and lint configuration

chore: modernize build tooling and lint configuration #59

Workflow file for this run

name: CI
on:
push:
branches: [ main, master ]
pull_request:
branches: [ main, master ]
jobs:
ci:
name: CI Check
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: 1.24.x
- name: Install tools
run: make tools
- name: Run CI
run: make ci
format-check:
name: Format Check
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: 1.24.x
- name: Check formatting
run: |
make fmt
if [ -n "$(git status --porcelain)" ]; then
echo "Code is not formatted. Please run 'make fmt'"
git diff
exit 1
fi