Skip to content

Commit

Permalink
feat: add test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
devhaozi committed Oct 18, 2024
1 parent d4ca883 commit 3dc54bd
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Test
on:
push:
branches:
- main
pull_request:
jobs:
unit:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
cache: true
go-version: 'stable'
- name: Run tests
run: go test ./...

0 comments on commit 3dc54bd

Please sign in to comment.