Skip to content

Commit

Permalink
Switch to npm (#436)
Browse files Browse the repository at this point in the history
  • Loading branch information
hfhbd authored Feb 11, 2025
1 parent 6158c07 commit b27339c
Show file tree
Hide file tree
Showing 5 changed files with 3,899 additions and 1,956 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ jobs:
if: success() || failure()
with:
sarif_file: build/reports/detekt/detekt.sarif
- run: ./gradlew kotlinUpgradeYarnLock :kotlinx-uuid-core:jsBrowserTest
- run: ./gradlew :kotlinx-uuid-core:jsBrowserTest
35 changes: 35 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: "CodeQL"

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
contents: read
security-events: write

steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 21
- uses: gradle/actions/setup-gradle@v4

- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: kotlin
build-mode: manual

- name: Build with Gradle
run: ./gradlew --no-build-cache classes

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
7 changes: 5 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,17 @@
# Copyright 2021 hfhbd and contributors. Use of this source code is governed by the Apache 2.0 license.
#
kotlin.code.style=official
kotlin.jvm.addClassesVariant=true
kotlin.js.yarn=false
kotlin.internal.collectFUSMetrics=false
org.gradle.parallel=true
org.gradle.caching=true
org.gradle.configuration-cache=true
org.gradle.configuration-cache.parallel=true
org.gradle.unsafe.isolated-projects=false
org.gradle.configureondemand=true
kotlin.native.ignoreDisabledTargets=true
org.gradle.jvmargs=-XX:MaxMetaspaceSize=1g
org.gradle.jvmargs=-XX:MaxMetaspaceSize=1g -Xmx2048m
org.gradle.kotlin.dsl.skipMetadataVersionCheck=false
org.jetbrains.dokka.experimental.gradle.pluginMode=V2Enabled
org.jetbrains.dokka.experimental.gradle.pluginMode.noWarn=true
org.jetbrains.dokka.experimental.tryK2=true
Expand Down
Loading

0 comments on commit b27339c

Please sign in to comment.