Skip to content

Commit bf2cd6c

Browse files
committed
ci(github): emit warning if lint failure was suppressed
1 parent 72676e8 commit bf2cd6c

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/main.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,19 @@ on:
1010
- "master"
1111
jobs:
1212
lint:
13-
continue-on-error: true
1413
runs-on: ubuntu-latest
1514
steps:
1615
- uses: actions/checkout@v5
1716
- uses: ./.github/actions/setup
1817
with:
1918
python: 3.12
2019
- name: Lint
20+
id: lint
2121
run: tox -e lint
22+
continue-on-error: true
23+
- name: Emit warning if lint failed
24+
if: ${{ steps.lint.outcome != 'success' }}
25+
run: echo "::warning::Lint step failed, check logs"
2226
test:
2327
strategy:
2428
fail-fast: false

0 commit comments

Comments
 (0)