Skip to content

fix: getGameHighScores returns an array of high scores instead of a single GameHighScore #120

fix: getGameHighScores returns an array of high scores instead of a single GameHighScore

fix: getGameHighScores returns an array of high scores instead of a single GameHighScore #120

Workflow file for this run

name: main
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: 1.18
- name: Checkout code
uses: actions/checkout@master
- name: run tests
run: |
go test -coverprofile=coverage.txt -covermode=atomic ./...
- name: Publish coverage
uses: codecov/[email protected]
with:
token: ${{secrets.CODECOV_TOKEN}}
file: ./coverage.txt