diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index d54fe06..610dca9 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -123,8 +123,16 @@ jobs: arch: x86_64 runs-on: ubuntu-latest steps: - - name: Checkout Repository - uses: actions/checkout@v4 + - name: Remove unnecessary tools + uses: jlumbroso/free-disk-space@v1.3.1 + with: + android: false + tool-cache: true + dotnet: true + haskell: true + swap-storage: true + docker-images: false + large-packages: false - name: Enable KVM run: | @@ -132,6 +140,9 @@ jobs: sudo udevadm control --reload-rules sudo udevadm trigger --name-match=kvm + - name: Checkout Repository + uses: actions/checkout@v4 + - name: Validate Gradle Wrapper uses: gradle/actions/wrapper-validation@v3 diff --git a/library/crypto-rand/src/commonMain/kotlin/org/kotlincrypto/random/CryptoRand.kt b/library/crypto-rand/src/commonMain/kotlin/org/kotlincrypto/random/CryptoRand.kt index a5ec153..2b88619 100644 --- a/library/crypto-rand/src/commonMain/kotlin/org/kotlincrypto/random/CryptoRand.kt +++ b/library/crypto-rand/src/commonMain/kotlin/org/kotlincrypto/random/CryptoRand.kt @@ -52,7 +52,7 @@ public abstract class CryptoRand @DelicateCryptoRandApi protected constructor() * - WasmJs: * - Browser: [Crypto.getRandomValues()](https://developer.mozilla.org/docs/Web/API/Crypto/getRandomValues) * - Node: [Crypto.randomFillSync()](https://nodejs.org/api/crypto.html#cryptorandomfillsyncbuffer-offset-size) - * - WasmWasi: [random_get](https://github.com/WebAssembly/WASI/blob/main/legacy/preview1/docs.md#random_get) + * - WasmWasi: [random_get](https://github.com/WebAssembly/WASI/blob/wasi-0.1/preview1/docs.md#random_get) * - Native: * - Linux & Android Native targets: [getrandom(2)](https://www.man7.org/linux/man-pages/man2/getrandom.2.html) * when available (Linux Kernel 3.17+ & Android API 26+), with a fallback to reading from `/dev/urandom` after