diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index 0b97cfd..334c8a2 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -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 @@ -27,7 +27,7 @@ jobs: format: needs: build - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 permissions: contents: read steps: @@ -39,7 +39,7 @@ jobs: lint: needs: build - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 permissions: contents: read steps: @@ -47,4 +47,16 @@ jobs: - name: Set up JDK uses: ./.github/actions/setup-jdk - name: Check lint - run: mvn -B checkstyle:check --file pom.xml \ No newline at end of file + 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 \ No newline at end of file