Skip to content

Commit

Permalink
try adding a github action workflow to run the tests
Browse files Browse the repository at this point in the history
  • Loading branch information
erikdw committed Mar 14, 2024
1 parent df697c2 commit 2728997
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/go-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Go Test

on: [push, pull_request]

jobs:
test:
name: Run go test
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.21

- name: Run tests
run: go test -v ./...

0 comments on commit 2728997

Please sign in to comment.