18 lines
321 B
YAML
18 lines
321 B
YAML
name: Format
|
|
|
|
on:
|
|
pull_request:
|
|
push:
|
|
|
|
jobs:
|
|
format:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: actions/setup-go@v5
|
|
with:
|
|
go-version: "1.23"
|
|
- run: make format
|
|
- name: Indicate formatting issues
|
|
run: git diff HEAD --exit-code --color
|