Skip to content

ci: add go.yaml

ci: add go.yaml #1

Workflow file for this run

name: Go Test
on:
push:
branches:
pull_request:
branches:
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.22
- name: Install dependencies
run: go mod tidy
- name: Run tests
run: go test ./...