Skip to content

Commit

Permalink
Merge pull request masterzen#151 from kke/add-unit-test-workflow
Browse files Browse the repository at this point in the history
Add a unit test workflow
  • Loading branch information
masterzen authored Dec 27, 2023
2 parents 9d04e78 + 5c87f79 commit 64a814d
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Go unit tests

on:
pull_request:
paths:
- '**.go'
- go.mod
- go.sum

jobs:
gotest:
runs-on: ubuntu-20.04

steps:
- uses: actions/checkout@v4

- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
check-latest: true

- name: Test
run: go test -v ./...

0 comments on commit 64a814d

Please sign in to comment.