Skip to content

Commit 9871c95

Browse files
authored
chore: attempt to upgrade codecov-action to v5 (#32)
* chore: try much earlier construction * chore: attempt to move to codecov-action@v5
1 parent 3367b5c commit 9871c95

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/dart.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
run: ./coverage.sh
4343

4444
- name: Upload coverage reports to Codecov
45-
uses: codecov/codecov-action@v4
45+
uses: codecov/codecov-action@v5
4646
with:
4747
fail_ci_if_error: true # optional (default = false)
4848
token: ${{ secrets.CODECOV_TOKEN }} # required

packages/cli/lib/central_command.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -630,7 +630,7 @@ class CentralCommand {
630630
// A hack to advance the global config to the construction phase.
631631
if (jumpGateComplete) {
632632
return GamePhase.exploration;
633-
} else if (ships.countOfFrame(ShipFrameSymbolEnum.LIGHT_FREIGHTER) >= 10) {
633+
} else if (ships.countOfFrame(ShipFrameSymbolEnum.LIGHT_FREIGHTER) >= 2) {
634634
return GamePhase.construction;
635635
}
636636
return GamePhase.bootstrap;

0 commit comments

Comments
 (0)