Skip to content

Commit

Permalink
Test example module
Browse files Browse the repository at this point in the history
  • Loading branch information
sevein committed May 17, 2024
1 parent 8032b9d commit cf4b8fe
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,23 @@ jobs:
uses: actions/setup-go@v5
- name: Run tests
run: go test -race ./...
test-example:
name: Test example
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Install Go
uses: actions/setup-go@v5
with:
working-directory: ./example
- name: Run tests
run: go test -race ./...
working-directory: ./example
mod:
name: Check that `go mod tidy` is clean
runs-on: ubuntu-latest
Expand Down

0 comments on commit cf4b8fe

Please sign in to comment.