Skip to content

Add GH Actions

Add GH Actions #1

Workflow file for this run

name: Go
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.20 # Specify the Go version you are using
- name: Install dependencies
run: go mod tidy
- name: Run tests
run: go test ./... -v