Skip to content

CI: Default to main branch #4

CI: Default to main branch

CI: Default to main branch #4

Workflow file for this run

name: CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.23
uses: actions/setup-go@v5
with:
go-version: '1.23'
- name: Check out code into the Go module directory
uses: actions/checkout@v4
- name: Build
run: go build
- name: Test
run: go test