Skip to content
This repository has been archived by the owner on Nov 10, 2023. It is now read-only.

Update plugin org.jetbrains.kotlin.plugin.serialization to v1.9.10 #201

Update plugin org.jetbrains.kotlin.plugin.serialization to v1.9.10

Update plugin org.jetbrains.kotlin.plugin.serialization to v1.9.10 #201

Workflow file for this run

name: build
on:
push:
paths-ignore:
- '*.md'
workflow_dispatch:
jobs:
build-linux:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v3
- name: Using Caches
uses: actions/cache@v3
with:
path: ~/.gradle/caches
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }}
restore-keys: |
${{ runner.os }}-gradle-
- name: Setup JDK
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: 16
- name: Grant Execute Permission to gradlew
run: chmod +x gradlew
- name: Format with ktlint
run: ./gradlew ktlintFormat
- name: Build with Gradle
run: ./gradlew build
- name: Push cleaned code
run: |
git add .;
if git diff-index --quiet HEAD --; then
exit 0;
else
git config user.name github-actions;
git config user.email github-actions@github.com;
git commit -sam "♻️ Apply ktlint";
git push
fi