Skip to content

Commit

Permalink
Update dependency com.pinterest.ktlint:ktlint-bom to v1.3.0 (#386)
Browse files Browse the repository at this point in the history
* Update dependency com.pinterest.ktlint:ktlint-bom to v1.3.0

* Run ktlint as its own step in CI

* Don't use detekt script for CI checks

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Eliezer Graber <[email protected]>
  • Loading branch information
renovate[bot] and eygraber committed Jun 4, 2024
1 parent 2771e56 commit a936313
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
10 changes: 9 additions & 1 deletion .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
validate-wrappers: true

- name: Run detekt
run: ./format --no-format && ./detekt
run: ./gradlew detektAll

detektIos:
runs-on: macos-latest
Expand All @@ -54,6 +54,14 @@ jobs:
- name: Build for iOS
run: ./gradlew detektIosMain

ktlint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Run ktlint
run: ./format --no-format

lint:
runs-on: ubuntu-latest
steps:
Expand Down
3 changes: 0 additions & 3 deletions detekt

This file was deleted.

2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ dokka = "1.9.20"

kotlin = "2.0.0"

ktlint = "1.2.1"
ktlint = "1.3.0"

publish = "0.28.0"

Expand Down

0 comments on commit a936313

Please sign in to comment.