Skip to content

Commit

Permalink
chore: add github CI
Browse files Browse the repository at this point in the history
adding github CI to ensure that test pass.
toumorokoshi committed Nov 1, 2024
1 parent 6df0ee5 commit 95e3d20
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/go-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Go Tests

on:
push:
branches: [main]
pull_request:
branches: [main]

jobs:
test:
name: Run Unit Tests
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: "1.21" # Specify your Go version here

- name: Install dependencies
run: go mod download

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

0 comments on commit 95e3d20

Please sign in to comment.