.github/workflows/ci.yaml
---
name: CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: set up go
uses: actions/setup-go@v3
with:
go-version: 1.18
- name: build
run: go build -v ./...
- name: test
run: go test -v ./...