[patch] fixed inifinite recursion issue (reported in issue #48) #14
This file contains 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: Tests | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
testold: | |
name: "Test with Go 1.22" | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Go 1.22 | |
uses: actions/setup-go@v3 | |
with: | |
go-version: 1.22 | |
- name: Test | |
run: go test -coverprofile=coverage.txt -covermode=atomic $(go list ./... | grep -v /cmd) | |
testlatest: | |
name: "Test with default latest Go" | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Go latest | |
uses: actions/setup-go@v3 | |
- name: Test | |
run: go test -coverprofile=coverage.txt -covermode=atomic $(go list ./... | grep -v /cmd) |