Skip to content

feat: Add tictactoe AI mode #2

feat: Add tictactoe AI mode

feat: Add tictactoe AI mode #2

Triggered via pull request January 18, 2025 17:45
Status Failure
Total duration 32s
Artifacts

golangci-lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
lint: internal/app/tictactoe/engine/engine_test.go#L65
Error return value of `board.Load` is not checked (errcheck)
lint: internal/app/tictactoe/engine/engine_test.go#L88
Error return value of `board.SetCell` is not checked (errcheck)
lint: internal/app/tictactoe/engine/engine_test.go#L89
Error return value of `board.SetCell` is not checked (errcheck)
lint: internal/app/tictactoe/engine/engine_test.go#L90
Error return value of `board.SetCell` is not checked (errcheck)
lint: internal/app/tictactoe/engine/mcts.go#L137
Error return value of `n.engine.PlayMove` is not checked (errcheck)
lint: internal/app/tictactoe/engine/mcts.go#L159
Error return value of `n.engine.PlayMove` is not checked (errcheck)
lint: internal/app/tictactoe/engine/model.go#L123
Error return value of `g.engine.PlayMove` is not checked (errcheck)
lint: internal/app/tictactoe/engine/model.go#L161
Error return value of `g.engine.PlayMove` is not checked (errcheck)
lint: internal/app/hangman/hangman.go#L92
singleCaseSwitch: should rewrite switch statement to if statement (gocritic)
lint: internal/app/twenty48/twenty48.go#L53
singleCaseSwitch: should rewrite switch statement to if statement (gocritic)
lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636