Skip to content

feat: refactor project #66

feat: refactor project

feat: refactor project #66

Workflow file for this run

name: Test
on:
pull_request:
push:
branches:
- main
jobs:
test:
name: Test
strategy:
matrix:
go: [ 1.23.x ]
os: [ ubuntu-latest, macos-latest, windows-latest ]
runs-on: ${{matrix.os}}
steps:
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: ${{matrix.go}}
id: go
- name: Checkout code
uses: actions/checkout@v4
- name: Download dependencies
run: go mod download
- name: Build
run: go build -o ./bin/tetrigo -v ./cmd/tetrigo
- name: Test
run: go test -cover -count=1 -race ./...