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 -