ci: add container image for test and checkstyle jobs
All checks were successful
Quality Check / Tests (pull_request) Successful in 1m41s
Quality Check / Checkstyle Main (pull_request) Successful in 1m53s

This commit is contained in:
Jan Gleytenhoover 2024-09-25 10:44:51 +02:00
parent 680625fa39
commit 2a7829f056
Signed by: jank
GPG Key ID: B267751B8AE29EFE

View File

@ -7,6 +7,8 @@ jobs:
test: test:
name: "Tests" name: "Tests"
runs-on: "ubuntu-latest" runs-on: "ubuntu-latest"
container:
image: "cimg/openjdk:21.0-node"
steps: steps:
- name: "Checkout" - name: "Checkout"
uses: actions/checkout@v3 uses: actions/checkout@v3
@ -19,6 +21,8 @@ jobs:
checkstyle: checkstyle:
name: "Checkstyle Main" name: "Checkstyle Main"
runs-on: "ubuntu-latest" runs-on: "ubuntu-latest"
container:
image: "cimg/openjdk:21.0-node"
steps: steps:
- name: "Checkout" - name: "Checkout"
uses: actions/checkout@v3 uses: actions/checkout@v3