Skip to content

Commit

Permalink
Add Go test workflow for push events
Browse files Browse the repository at this point in the history
  • Loading branch information
bootjp committed Apr 30, 2024
1 parent be7d876 commit 5645403
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/go-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
on: [ push ]

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-go-test-push

name: Test
jobs:
test:
strategy:
matrix:
os: [ [ubuntu-latest] ]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: 'go.mod'
- run: go test -race ./...

0 comments on commit 5645403

Please sign in to comment.