Skip to content

Commit b2346bf

Browse files
committed
ci(workflows): fix linter installation in CI pipeline
Update linter installation step to ensure SDKMAN is installed before using it in the GitHub Actions workflow.
1 parent f717b02 commit b2346bf

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/kmp-test.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,9 @@ jobs:
112112

113113
# Check out the current repository
114114
- name: Install linter
115-
run: sdk install detekt pmd
115+
run: |
116+
curl -s "https://get.sdkman.io" | bash
117+
sdk install detekt pmd
116118
117119
# Validate wrapper
118120
- name: Gradle Wrapper Validation

0 commit comments

Comments
 (0)