Skip to content

Commit 5ff6b43

Browse files
committed
Update github workflow
1 parent fbe39cb commit 5ff6b43

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

.github/workflows/java.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,17 @@
11
name: Java
22

33
on:
4-
pull_request:
54
push:
65

76
jobs:
87
example-exercises:
98
runs-on: ubuntu-latest
109
container:
11-
image: openjdk:12-alpine
10+
image: eclipse-temurin:21
1211

1312
steps:
1413
- uses: actions/checkout@v1
1514
- name: Install dependencies
16-
run: apk add --no-cache jq=1.6-r0
15+
run: apt update && apt install -y jq
1716
- name: Evaluate sample exercises
18-
run: ./integration-tests/run
17+
run: ./integration-tests/run

integration-tests/run

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/sh
1+
#!/usr/bin/env bash
22
set -e
33

44
# Default values
@@ -127,4 +127,4 @@ echo "Major changes: $major_change"
127127
if [ "$minor_change" -gt 0 ] || [ "$major_change" -gt 0 ]; then
128128
echo "FAIL. Run with --overwrite to update the results."
129129
exit 1
130-
fi
130+
fi

0 commit comments

Comments
 (0)