Add post formats from instance endpoint #46
Workflow file for this run
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: CI Jobs | |
on: | |
pull_request: | |
permissions: | |
contents: read | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
check-style: | |
name: Ktlint check | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Java | |
uses: actions/setup-java@v4 | |
with: | |
java-version: "17" | |
distribution: "temurin" | |
cache: gradle | |
- name: Gradle Wrapper Validation | |
uses: gradle/actions/wrapper-validation@v3 | |
- name: Gradle Setup | |
uses: gradle/actions/setup-gradle@v3 | |
- name: Run ktlint | |
run: | | |
cd husky | |
./gradlew ktlintCheck | |
run-tests: | |
name: Run tests | |
runs-on: ubuntu-latest | |
needs: [check-style] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Java | |
uses: actions/setup-java@v4 | |
with: | |
java-version: "17" | |
distribution: "temurin" | |
cache: gradle | |
- name: Gradle Wrapper Validation | |
uses: gradle/actions/wrapper-validation@v3 | |
- name: Gradle Setup | |
uses: gradle/actions/setup-gradle@v3 | |
- name: Run stable tests | |
run: | | |
cd husky | |
./gradlew testHuskyStableReleaseUnitTest |