Skip to content

build: change pipeline to Java 17 #31

build: change pipeline to Java 17

build: change pipeline to Java 17 #31

Workflow file for this run

name: Ktlint
on:
pull_request:
push:
paths-ignore:
- 'README.md'
branches:
- develop
- main
jobs:
ktlint:
if: "! contains(toJSON(github.event.commits.*.message), '[skip ci]') && ! (contains(toJSON(github.event.commits.*.message), '[skip ') && contains(toJSON(github.event.commits.*.message), '#ktlint'))"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 17
uses: actions/setup-java@v1
with:
java-version: 17
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew ktlint