From 30b3a4f4cba8a7057d58ce23d400d0a03427ac12 Mon Sep 17 00:00:00 2001 From: Roman Langolf Date: Tue, 7 Apr 2026 12:49:21 +0700 Subject: [PATCH 1/4] update versions and extend redainess timeout --- PgCodeGen.scala | 8 ++++---- PgCodeGenTest.scala | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/PgCodeGen.scala b/PgCodeGen.scala index a05c92f..a89d2e4 100644 --- a/PgCodeGen.scala +++ b/PgCodeGen.scala @@ -1,8 +1,8 @@ -//> using scala 3.7.4 +//> using scala 3.8.3 //> using dep com.indoorvivants.roach::core::0.1.0 -//> using dep com.github.lolgab::scala-native-crypto::0.2.1 +//> using dep com.github.lolgab::scala-native-crypto::0.3.0 //> using platform native -//> using nativeVersion 0.5.9 +//> using nativeVersion 0.5.10 package com.anymindgroup @@ -853,7 +853,7 @@ object PgCodeGen { val res = sql"SELECT true".one(bool).contains(true) } catch { case e: Throwable => - if attempt <= 10 then check(attempt + 1) + if attempt <= 50 then check(attempt + 1) else Console.err.println(s"Could not connect to docker on $host:$port ${e.getMessage()}") throw e diff --git a/PgCodeGenTest.scala b/PgCodeGenTest.scala index 975e558..dd70082 100644 --- a/PgCodeGenTest.scala +++ b/PgCodeGenTest.scala @@ -1,5 +1,5 @@ -//> using scala 3.7.4 -//> using dep dev.rolang::dumbo:0.6.1 +//> using scala 3.8.3 +//> using dep dev.rolang::dumbo:0.8.1 //> using platform jvm //> using jvm system //> using file test-generated/generated From 10e4e39eaa5562cc6656035d78522a000795ffa0 Mon Sep 17 00:00:00 2001 From: Roman Langolf Date: Tue, 7 Apr 2026 12:58:42 +0700 Subject: [PATCH 2/4] try ubuntu-latest-arm --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 480c60a..0d93de0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,7 +11,7 @@ jobs: build: strategy: matrix: - os: [ubuntu-latest, ubuntu-24.04-arm, macos-15] + os: [ubuntu-latest, ubuntu-latest-arm, macos-15] runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v2 @@ -21,7 +21,7 @@ jobs: jvm: temurin:21 - name: Install libpq (Linux) if: runner.os == 'Linux' - run: sudo apt-get install -y libpq-dev + run: apt-get update && sudo apt-get install -y libpq-dev - name: Install libpq (macOS) if: runner.os == 'macOS' run: brew install libpq && brew link --force libpq From 3fbdabc01965896ce6c38a6aa64369ed2144ac02 Mon Sep 17 00:00:00 2001 From: Roman Langolf Date: Tue, 7 Apr 2026 13:01:16 +0700 Subject: [PATCH 3/4] revert ubuntu-latest-arm --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0d93de0..aa23ed9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,7 +11,7 @@ jobs: build: strategy: matrix: - os: [ubuntu-latest, ubuntu-latest-arm, macos-15] + os: [ubuntu-latest, ubuntu-24.04-arm, macos-15] runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v2 From a7f62c5b9c3a4cde5833b03d02c43776d8eedf64 Mon Sep 17 00:00:00 2001 From: Roman Langolf Date: Tue, 7 Apr 2026 13:03:09 +0700 Subject: [PATCH 4/4] sudo --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index aa23ed9..319100a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,7 +21,7 @@ jobs: jvm: temurin:21 - name: Install libpq (Linux) if: runner.os == 'Linux' - run: apt-get update && sudo apt-get install -y libpq-dev + run: sudo apt-get update && sudo apt-get install -y libpq-dev - name: Install libpq (macOS) if: runner.os == 'macOS' run: brew install libpq && brew link --force libpq