Skip to content

Commit

Permalink
Run go tests (#54)
Browse files Browse the repository at this point in the history
* Check go modules tidied

* Tidy & hope we go green

* Run go tests
  • Loading branch information
rcrowe authored Jul 5, 2024
1 parent 74b62e8 commit 57475e3
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/go.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,15 @@ jobs:
run: go mod tidy
- name: Check for changes
run: git add . && git diff --staged --exit-code
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Go
uses: actions/setup-go@v3
with:
go-version-file: 'go.mod'
cache: true
- name: Run tests
run: go test -v -race ./...

0 comments on commit 57475e3

Please sign in to comment.