--- /dev/null
+name: test
+
+on: [push, pull_request]
+
+jobs:
+ test:
+ runs-on: ubuntu-latest
+
+ steps:
+ - name: Checkout
+ uses: actions/checkout@v3
+ with:
+ fetch-depth: 0
+ submodules: recursive
+
+ - name: Install Go
+ uses: actions/setup-go@v3
+ with:
+ go-version: 1.18.x
+
+ - name: Test
+ run: |
+ go test ./... -coverprofile=profile.cov
+
+ - uses: shogo82148/actions-goveralls@v1.6.0
+ with:
+ path-to-profile: profile.cov
\ No newline at end of file