Skip to content

Commit

Permalink
workflow updated
Browse files Browse the repository at this point in the history
  • Loading branch information
mulla028 committed Nov 13, 2024
1 parent 3973106 commit 0ad2cc3
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 44 deletions.
22 changes: 0 additions & 22 deletions .github/workflows/checkstyle.yml

This file was deleted.

30 changes: 30 additions & 0 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,33 @@ jobs:
- name: Build with Maven
run: mvn -B package --file pom.xml

checkstyle:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Set up JDK
uses: actions/setup-java@v2
with:
distribution: 'temurin'
java-version: '22'

- name: Install dependencies and run Checkstyle
run: mvn checkstyle:check

spotless-check:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Set up JDK
uses: actions/setup-java@v2
with:
distribution: 'temurin'
java-version: '22'

- name: Install dependencies and run Spotless check
run: mvn spotless:check

22 changes: 0 additions & 22 deletions .github/workflows/spotless.yml

This file was deleted.

0 comments on commit 0ad2cc3

Please sign in to comment.