Skip to content

Commit bc7403b

Browse files
committed
renamed job to lint-and-test; exit 1 on exception
1 parent a36b8be commit bc7403b

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ permissions:
1010
contents: read
1111

1212
jobs:
13-
validate:
13+
lint-and-test:
1414
runs-on: ubuntu-latest
1515
steps:
1616
- uses: actions/checkout@v4

action.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,7 @@ runs:
152152
}
153153
154154
core.setOutput('result', JSON.stringify({ error: error.message }));
155+
process.exit(1);
155156
} finally {
156157
try {
157158
const finalScript = core.getInput('script', { required: true });

0 commit comments

Comments
 (0)