Skip to content

Add github action

Add github action #2

Workflow file for this run

name: Test
on:
pull_request:
push:
branches:
- main
tags:
- "*"
jobs:
test:
name: Test with Go ${{ matrix.go-version }}
runs-on: ubuntu-latest
strategy:
matrix:
go-version: ['1.24']
steps:
- uses: actions/checkout@v6
- name: Set up Go
uses: actions/setup-go@v6
with:
go-version: ${{ matrix.go-version }}
cache: true
- name: Run tests
run: go test -v ./...