Skip to content

Commit

Permalink
chore(ci): Verify gradle & format
Browse files Browse the repository at this point in the history
  • Loading branch information
Distractic committed Jun 16, 2024
1 parent a56e3d2 commit 1afdf67
Showing 1 changed file with 24 additions and 7 deletions.
31 changes: 24 additions & 7 deletions .github/workflows/check-branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,31 @@ concurrency:
cancel-in-progress: true

jobs:
validation:
name: Validate Gradle Wrapper
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- uses: gradle/actions/wrapper-validation@v3

format:
needs: [ validation ]
name: Verify Code Format
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Initialization
uses: ./.github/actions/init

- name: Check code style
uses: gradle/actions/setup-gradle@v3
with:
arguments: detekt

build:
needs: [ validation, format ]
runs-on: ubuntu-latest
steps:
- name: Checkout project
Expand All @@ -23,13 +47,6 @@ jobs:
with:
jdk: 17

- name: Check code style
uses: gradle/[email protected]
env:
DETEKT_IGNORE_FAILURES: true
with:
arguments: detekt

- name: Build
uses: gradle/[email protected]
with:
Expand Down

0 comments on commit 1afdf67

Please sign in to comment.