From 6ddecf5aec5484187f61caee92f7ed186dc401df Mon Sep 17 00:00:00 2001 From: gaming <48131223+TheGamer1002@users.noreply.github.com> Date: Sun, 20 Oct 2024 13:30:41 -0400 Subject: [PATCH 1/2] Fix detekt jq syntax --- .github/workflows/detekt.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/detekt.yml b/.github/workflows/detekt.yml index 2a94375..ddfe084 100644 --- a/.github/workflows/detekt.yml +++ b/.github/workflows/detekt.yml @@ -70,7 +70,7 @@ jobs: } ' 1> gh_response.json - DETEKT_RELEASE_SHA=$(jq --raw-output '.data.repository.release.releaseAssets.tagCommit.oid' gh_response.json) + DETEKT_RELEASE_SHA=$(jq --raw-output '.data.repository.release.tagCommit.oid' gh_response.json) if [ $DETEKT_RELEASE_SHA != "37f0a1d006977512f1f216506cd695039607c3e5" ]; then echo "Release tag doesn't match expected commit SHA" exit 1 From 1c29919b256967552dafbd59049f7ba1e12814e2 Mon Sep 17 00:00:00 2001 From: "deepsource-io[bot]" <42547082+deepsource-io[bot]@users.noreply.github.com> Date: Sun, 20 Oct 2024 17:33:58 +0000 Subject: [PATCH 2/2] ci: add .deepsource.toml --- .deepsource.toml | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 .deepsource.toml diff --git a/.deepsource.toml b/.deepsource.toml new file mode 100644 index 0000000..c4fadda --- /dev/null +++ b/.deepsource.toml @@ -0,0 +1,11 @@ +version = 1 + +[[analyzers]] +name = "kotlin" + + [analyzers.meta] + runtime_version = "1.8" + language_version = "1.7" + +[[transformers]] +name = "ktlint" \ No newline at end of file