Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 16 additions & 4 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ on:

jobs:
build:
runs-on: ubuntu-24.04
permissions:
contents: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- name: Set up JDK
Expand All @@ -27,7 +27,7 @@ jobs:

format:
needs: build
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
permissions:
contents: read
steps:
Expand All @@ -39,12 +39,24 @@ jobs:

lint:
needs: build
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
permissions:
contents: read
steps:
- uses: actions/checkout@v7
- name: Set up JDK
uses: ./.github/actions/setup-jdk
- name: Check lint
run: mvn -B checkstyle:check --file pom.xml
run: mvn -B checkstyle:check --file pom.xml

junit:
needs: build
runs-on: ubuntu-24.04
permissions:
contents: read
steps:
- uses: actions/checkout@v7
- name: Set up JDK
uses: ./.github/actions/setup-jdk
- name: Run tests
run: mvn -B test --file pom.xml
Loading