Skip to content

Commit 0ebe8cc

Browse files
committed
Execute JBang without installation
1 parent 6b8e31f commit 0ebe8cc

File tree

1 file changed

+4
-11
lines changed

1 file changed

+4
-11
lines changed

.github/workflows/sanity-check.yml

+4-11
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ on:
44
workflow_dispatch:
55
inputs:
66
library_version:
7-
description: 'Library version (e.g. 5.21.0)'
7+
description: 'Library version (e.g. 0.15.0)'
88
required: true
99
type: string
10-
default: '5.21.0'
10+
default: '0.15.0'
1111

1212
jobs:
1313
build:
@@ -26,18 +26,11 @@ jobs:
2626
distribution: 'zulu'
2727
java-version: '21'
2828
cache: 'maven'
29-
- uses: actions/cache@v4
30-
with:
31-
path: /root/.jbang
32-
key: $-jbang-$
33-
restore-keys: |
34-
$-jbang-
3529
- name: Start broker
3630
run: ci/start-broker.sh
3731
- name: Sanity Check
38-
uses: jbangdev/[email protected]
39-
with:
40-
script: src/test/java/SanityCheck.java
32+
run: |
33+
curl -Ls https://sh.jbang.dev | bash -s - src/test/java/SanityCheck.java
4134
env:
4235
RABBITMQ_LIBRARY_VERSION: ${{ inputs.library_version }}
4336
- name: Stop broker

0 commit comments

Comments
 (0)