Skip to content

Commit 5f6ae09

Browse files
committed
ci(bench, test): enable colored output in GitHub Actions workflows
Add FORCE_COLOR=1 environment variable to bench and test workflow steps to improve log readability and debugging experience by enabling colored output in GitHub Actions console.
1 parent 9ce7380 commit 5f6ae09

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

template/.github/workflows/bench.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,3 +41,5 @@ jobs:
4141
with:
4242
run: mise run bench
4343
mode: instrumentation
44+
env:
45+
FORCE_COLOR: 1

template/.github/workflows/test.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@ jobs:
4444
uses: jdx/mise-action@v3
4545
- name: Test
4646
run: mise run test
47+
env:
48+
FORCE_COLOR: 1
4749
- name: Upload Coverage
4850
uses: codecov/codecov-action@v5
4951
with:

0 commit comments

Comments
 (0)