build(deps): bump org.jlleitschuh.gradle.ktlint from 10.2.1 to 12.1.0 #94
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build | |
on: | |
workflow_call: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
concurrency: | |
group: build-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
build-kotlin: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Check out repository | |
uses: actions/checkout@v3 | |
- uses: actions/setup-java@v3 | |
with: | |
distribution: 'temurin' | |
java-version: '11' | |
- name: Configure gradle.properties | |
run: | | |
cat <<EOF >> gradle.properties | |
maven.credentials.username=${{ secrets.MAVEN_REPOSITORY_USERNAME }} | |
maven.credentials.password=${{ secrets.MAVEN_REPOSITORY_PASSWORD }} | |
EOF | |
- name: Build kotlin | |
uses: gradle/gradle-build-action@v2 | |
with: | |
arguments: build -x check | |
build-docker: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Check out repository | |
uses: actions/checkout@v3 | |
- uses: actions/setup-java@v3 | |
with: | |
distribution: 'temurin' | |
java-version: '11' | |
- name: Configure gradle.properties | |
run: | | |
cat <<EOF >> gradle.properties | |
maven.credentials.username=${{ secrets.MAVEN_REPOSITORY_USERNAME }} | |
maven.credentials.password=${{ secrets.MAVEN_REPOSITORY_PASSWORD }} | |
EOF | |
- name: Build kotlin | |
uses: gradle/gradle-build-action@v2 | |
with: | |
arguments: build -x check | |
- name: Build docker image | |
run: | | |
docker build . |