Skip to content

ci: bump GitHub Actions to Node.js 24 compatible versions #2

ci: bump GitHub Actions to Node.js 24 compatible versions

ci: bump GitHub Actions to Node.js 24 compatible versions #2

Workflow file for this run

name: CI
on:
pull_request:
push:
branches:
- main
jobs:
build-test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Set up Go
uses: actions/setup-go@v6
with:
go-version: '1.26.1'
- name: Build
run: go build ./...
- name: Test
run: go test ./...
- name: Vet
run: go vet ./...
- name: Format check
run: |
fmt=$(gofmt -l .)
if [ -n "$fmt" ]; then
echo "Unformatted files:"
echo "$fmt"
exit 1
fi