Skip to content

Commit

Permalink
ci: auto test on push (#8)
Browse files Browse the repository at this point in the history
Co-authored-by: tenkoh <[email protected]>
  • Loading branch information
tenkoh and tenkoh authored Sep 7, 2023
1 parent 662574e commit 11d9bbb
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/gotest.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Go test

on: [push]

jobs:
test:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- name: Set up Go
uses: actions/setup-go@v4
with:
go-version-file: go.mod
cache: true

- name: Install dependencies
run: go get .

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

0 comments on commit 11d9bbb

Please sign in to comment.