Skip to content

chore(ci): Verify gradle & format #70

chore(ci): Verify gradle & format

chore(ci): Verify gradle & format #70

Workflow file for this run

name: Check
on:
push:
branches-ignore:
- main
paths-ignore:
- '**.md'
concurrency:
group: check-${{ github.ref }}
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
uses: actions/checkout@v3
- name: Initialization
uses: ./.github/actions/init
with:
jdk: 17
- name: Build
uses: gradle/gradle-build-action@v2.7.0
with:
arguments: assemble
- name: Test
uses: nick-fields/retry@v2
with:
timeout_minutes: 10
max_attempts: 10
command: ./gradlew test