diff --git a/.github/workflows/CD.yml b/.github/workflows/CD.yml index 4dc3f47..612c6c1 100644 --- a/.github/workflows/CD.yml +++ b/.github/workflows/CD.yml @@ -28,7 +28,7 @@ jobs: java-version: 21 - uses: gradle/actions/setup-gradle@v3 - name: Publish - run: ./gradlew -Pversion=$version -Dorg.gradle.parallel=false --no-configuration-cache publish closeAndReleaseStagingRepository + run: ./gradlew -Pversion=$version -Dorg.gradle.parallel=false --no-configuration-cache publish :closeAndReleaseStagingRepository env: ORG_GRADLE_PROJECT_signingKey: ${{ secrets.SIGNING_PRIVATE_KEY }} ORG_GRADLE_PROJECT_signingPassword: ${{ secrets.SIGNING_PASSWORD }} diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 929e1b3..2569eb3 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -24,7 +24,6 @@ jobs: java-version: 21 - uses: gradle/actions/setup-gradle@v3 with: - dependency-graph: generate-and-submit gradle-home-cache-cleanup: true - name: Build with Gradle run: ./gradlew build diff --git a/.github/workflows/Docs.yml b/.github/workflows/Docs.yml index 7112fca..556cd96 100644 --- a/.github/workflows/Docs.yml +++ b/.github/workflows/Docs.yml @@ -29,7 +29,7 @@ jobs: java-version: 21 - uses: gradle/actions/setup-gradle@v3 - name: Generate Docs - run: ./gradlew dokkaHtmlMultiModule + run: ./gradlew :dokkaHtmlMultiModule - name: Upload Docs uses: actions/upload-pages-artifact@v3 with: diff --git a/.github/workflows/dependencies.yml b/.github/workflows/dependencies.yml new file mode 100644 index 0000000..33e8124 --- /dev/null +++ b/.github/workflows/dependencies.yml @@ -0,0 +1,32 @@ +name: Dependency review for pull requests + +on: + push: + branches: [ main ] + pull_request: + branches: [ main ] + + +jobs: + dependency-submission: + runs-on: macos-14 + + permissions: + contents: write + + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-java@v4 + with: + distribution: 'adopt' + java-version: 21 + - name: Generate and submit dependency graph + uses: gradle/actions/dependency-submission@v3 + + dependency-review: + runs-on: ubuntu-latest + needs: dependency-submission + if: github.event_name == 'pull_request' + steps: + - name: Perform dependency review + uses: actions/dependency-review-action@v4 diff --git a/kotlinx-uuid-exposed/src/test/kotlin/kotlinx/uuid/exposed/UUIDTableTest.kt b/kotlinx-uuid-exposed/src/test/kotlin/kotlinx/uuid/exposed/UUIDTableTest.kt index dc3e537..2906246 100644 --- a/kotlinx-uuid-exposed/src/test/kotlin/kotlinx/uuid/exposed/UUIDTableTest.kt +++ b/kotlinx-uuid-exposed/src/test/kotlin/kotlinx/uuid/exposed/UUIDTableTest.kt @@ -32,7 +32,7 @@ class UUIDTableTest { val uuid = TestTable.insert {}[TestTable.id].value assertNotNull(uuid) - val row = TestTable.select { + val row = TestTable.selectAll().where { TestTable.id eq uuid }.single()