Skip to content

Commit 2d9dff2

Browse files
committed
use mise
Signed-off-by: Gregor Zeitlinger <[email protected]>
1 parent ddcf287 commit 2d9dff2

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed

.github/workflows/acceptance-tests.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,8 @@ jobs:
1313
- name: Check out
1414
uses: actions/checkout@v4
1515
- uses: jdx/mise-action@v2
16-
with:
17-
experimental: true # to get lock file support and for go backend
1816
- name: Run acceptance tests
19-
run: ./scripts/run-acceptance-tests.sh
17+
run: mise run acceptance-test
2018
- name: upload log file
2119
uses: actions/upload-artifact@v4
2220
if: failure()

.github/workflows/native-tests.yml

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,8 @@ jobs:
1010
native-tests:
1111
runs-on: ubuntu-24.04
1212
steps:
13-
- uses: actions/checkout@v4
14-
- name: Set up JDK
15-
uses: actions/setup-java@v4
16-
with:
17-
java-version: '21'
18-
distribution: graalvm
19-
cache: 'maven'
20-
- name: Run the Maven verify phase
21-
run: ./scripts/run-native-tests.sh
13+
- name: Check out
14+
uses: actions/checkout@v4
15+
- uses: jdx/mise-action@v2
16+
- name: Run native tests
17+
run: mise run native-test

mise.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,11 @@ run = "./mvnw verify"
3131
description = "Run OATs acceptance tests"
3232
run = "oats -timeout 5m examples/"
3333

34+
[tasks.native-test]
35+
tools.java = "graalvm-21.3.3+java17"
36+
run = "./scripts/run-native-tests.sh"
3437

38+
[settings]
39+
# to get lock file support and for go backend
40+
experimental = true
3541

0 commit comments

Comments
 (0)