Skip to content

Commit

Permalink
Simplify linting job.
Browse files Browse the repository at this point in the history
  • Loading branch information
airxnoor committed May 8, 2024
1 parent 2e02120 commit ca92b2d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ on:
- publish-spm

jobs:
android-lint:
lint:
name: "Lint Android"
runs-on: ubuntu-latest
steps:
- name: "Clone repo"
uses: actions/checkout@v4
with:
ssh-key: ${{ secrets.GIT_SSH_KEY }}
fetch-depth: 0
- name: "Set up Adopt OpenJDK 17"
uses: actions/setup-java@v3
with:
Expand All @@ -27,7 +27,7 @@ jobs:
run: sh gradlew ktlintCheck

build:
needs: "android-lint"
needs: lint
runs-on: macos-latest
steps:
- name: "Clone repo"
Expand All @@ -43,7 +43,7 @@ jobs:
uses: gradle/wrapper-validation-action@v1

publish:
needs: "build"
needs: build
permissions:
contents: write
packages: write
Expand Down

0 comments on commit ca92b2d

Please sign in to comment.