Skip to content

feat: go test ci

feat: go test ci #1

Workflow file for this run

name: Go Format and Test
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
go:
name: Run Go Format and Test
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.22.6'
- name: Go Format
run: go fmt ./...
- name: Run Go Tests
run: go test -v ./...