Skip to content

Add post formats from instance endpoint #46

Add post formats from instance endpoint

Add post formats from instance endpoint #46

Workflow file for this run

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