Skip to content

ci: add Github Actions test workflow #1

ci: add Github Actions test workflow

ci: add Github Actions test workflow #1

Workflow file for this run

name: Tests
on:
push:
branches: ['main']
pull_request:
branches: ['main']
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
go-version: ['1.22']
steps:
- uses: actions/checkout@v4
- name: Setup Go ${{ matrix.go-version }}
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go-version }}
- name: Install dependencies
run: go get .
- name: Test
run: make test