Skip to content

Commit

Permalink
Run unit tests in CI
Browse files Browse the repository at this point in the history
Signed-off-by: Yutaro Hayakawa <[email protected]>
  • Loading branch information
YutaroHayakawa committed May 2, 2024
1 parent 05369d4 commit 3e55b20
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/unit-tests.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Unit Tests

on:
push:
branches:
- main
pull_request:

jobs:
run:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Setup Go
uses: actions/setup-go@v5
go-version-file: ./go.mod

- name: Run tests
run: go test -v

0 comments on commit 3e55b20

Please sign in to comment.