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 3257bdd commit c87f57b
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/unit-tests.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
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
with:
go-version-file: ./go.mod

- name: Run tests
run: go test -v

0 comments on commit c87f57b

Please sign in to comment.