Merge pull request #127 from snorwin/dependabot/go_modules/github.com… #256
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Test | |
| on: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| branches: [ main ] | |
| jobs: | |
| build: | |
| name: Test | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Set up Go | |
| uses: actions/setup-go@v5 | |
| with: | |
| go-version: ^1.21 | |
| - name: Checkout | |
| uses: actions/checkout@v5 | |
| - name: Test | |
| run: make test | |
| env: | |
| CGO_ENABLED: 0 | |
| GO111MODULE: on | |
| GOOS: linux | |
| GOARCH: amd64 | |
| - name: Send coverage | |
| uses: shogo82148/actions-goveralls@v1 | |
| with: | |
| path-to-profile: cover.out |