From 1be34396406a848b1874a2918cfe84133c52cc01 Mon Sep 17 00:00:00 2001 From: Jan Klattenhoff Date: Wed, 25 Sep 2024 09:20:31 +0200 Subject: [PATCH] build: update container image for workflows --- .gitea/workflows/sq.yml | 21 ++++----------------- 1 file changed, 4 insertions(+), 17 deletions(-) diff --git a/.gitea/workflows/sq.yml b/.gitea/workflows/sq.yml index 5ea4713..3ee19a4 100644 --- a/.gitea/workflows/sq.yml +++ b/.gitea/workflows/sq.yml @@ -9,11 +9,8 @@ jobs: name: "Validate OAS" runs-on: "ubuntu-latest" container: - image: "openjdk:21-jdk" + image: "cimg/openjdk:21.0-node" steps: - - uses: actions/setup-node@v4 - with: - node-version: 18 - name: "Checkout" uses: actions/checkout@v3 - uses: actions/cache@v3 @@ -35,11 +32,8 @@ jobs: name: "Linting" runs-on: "ubuntu-latest" container: - image: "openjdk:21-jdk" + image: "cimg/openjdk:21.0-node" steps: - - uses: actions/setup-node@v4 - with: - node-version: 18 - name: "Checkout" uses: actions/checkout@v3 - uses: actions/cache@v3 @@ -65,11 +59,8 @@ jobs: name: "Static Analysis" runs-on: "ubuntu-latest" container: - image: "openjdk:21-jdk" + image: "cimg/openjdk:21.0-node" steps: - - uses: actions/setup-node@v4 - with: - node-version: 18 - name: "Checkout" uses: actions/checkout@v3 - uses: actions/cache@v3 @@ -95,11 +86,8 @@ jobs: name: "Testing" runs-on: "ubuntu-latest" container: - image: "openjdk:21-jdk" + image: "cimg/openjdk:21.0-node" steps: - - uses: actions/setup-node@v4 - with: - node-version: 18 - name: "Checkout" uses: actions/checkout@v3 - uses: actions/cache@v3 @@ -118,4 +106,3 @@ jobs: run: gradle test - name: "Stop Gradle" run: gradle --stop -