Merge pull request #63 from utgwkk/dependabot/go_modules/github.com/g… #162
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: CI | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| name: Test | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/setup-go@v6 | |
| with: | |
| cache: false | |
| go-version-file: go.mod | |
| - name: Install test dependencies | |
| run: go install github.com/mfridman/tparse@latest | |
| - name: Test | |
| run: | | |
| set -o pipefail | |
| go test ./... -json | tee ./go-test.out | tparse -all | |
| - name: Add job summary | |
| if: always() | |
| run: | | |
| tparse -file ./go-test.out -format markdown >> $GITHUB_STEP_SUMMARY |