chore: refactor tests to avoid using the same game object in differen… #13
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: Baloot | |
on: | |
push: [] | |
jobs: | |
build_baloot: | |
strategy: | |
matrix: | |
go: ['1.20', '1.21'] | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: ${{ matrix.go }} | |
check-latest: true | |
cache-dependency-path: ./go.sum | |
- name: Install dependencies | |
run: go mod download | |
- name: Build | |
run: go build -v ./... | |
- name: Test | |
run: go test -failfast -v -coverprofile=coverage.out ./... | |
- name: Vet | |
run: go vet ./... |