From 9add0cc08a443926186bd0fe027b8bc3910b7e38 Mon Sep 17 00:00:00 2001 From: tersec Date: Tue, 7 Jul 2026 09:15:50 +0000 Subject: [PATCH 1/3] replace deprecated actions/cache@v4 with actions/cache@v5 --- .github/actions/install_nim/action.yml | 15 ++------------- .github/workflows/test.yml | 2 +- 2 files changed, 3 insertions(+), 14 deletions(-) diff --git a/.github/actions/install_nim/action.yml b/.github/actions/install_nim/action.yml index 0f9fea1..b413426 100644 --- a/.github/actions/install_nim/action.yml +++ b/.github/actions/install_nim/action.yml @@ -37,17 +37,6 @@ runs: chmod 755 external/bin/gcc external/bin/g++ echo '${{ github.workspace }}/external/bin' >> $GITHUB_PATH - - name: MSYS2 (Windows i386) - if: inputs.os == 'Windows' && inputs.cpu == 'i386' - uses: msys2/setup-msys2@v2 - with: - path-type: inherit - msystem: MINGW32 - install: >- - base-devel - git - mingw-w64-i686-toolchain - - name: MSYS2 (Windows amd64) if: inputs.os == 'Windows' && inputs.cpu == 'amd64' uses: msys2/setup-msys2@v2 @@ -61,7 +50,7 @@ runs: - name: Restore Nim DLLs dependencies (Windows) from cache if: inputs.os == 'Windows' id: windows-dlls-cache - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: external/dlls key: 'dlls' @@ -116,7 +105,7 @@ runs: - name: Restore Nim from cache id: nim-cache - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: '${{ github.workspace }}/nim' key: ${{ inputs.os }}-${{ inputs.cpu }}-nim-${{ inputs.nim_ref }}-cache-${{ env.cache_nonce }} diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 9f1a78c..dddf586 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -71,7 +71,7 @@ jobs: - name: Restore llvm-mingw (Windows) from cache if: runner.os == 'Windows' id: windows-mingw-cache - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: external/mingw-${{ matrix.platform.cpu }} key: 'mingw-llvm-17-${{ matrix.platform.cpu }}' From b8585cc9c46d7bba043518873747a23bef5ed552 Mon Sep 17 00:00:00 2001 From: tersec Date: Tue, 7 Jul 2026 10:48:26 +0000 Subject: [PATCH 2/3] replace deprecated actions/checkout@v4 with actions/checkout@v5 --- .github/workflows/lint.yml | 2 +- lsquic.nimble | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index acb9467..0f04b7c 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -10,7 +10,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v5 with: fetch-depth: 2 # In PR, has extra merge commit: ^1 = PR, ^2 = base diff --git a/lsquic.nimble b/lsquic.nimble index f0598a0..94392b2 100644 --- a/lsquic.nimble +++ b/lsquic.nimble @@ -15,7 +15,7 @@ requires "unittest2" requires "chronicles >= 0.11.0" requires "https://github.com/vacp2p/nim-boringssl >= 0.0.4" -import os, strutils, sequtils +import std/[os, strutils, sequtils] var flags = getEnv("NIMFLAGS", "") # Extra flags for the compiler From 9f2625508fe016e4b77d74c611235a5c410a7a1e Mon Sep 17 00:00:00 2001 From: tersec Date: Tue, 7 Jul 2026 10:49:03 +0000 Subject: [PATCH 3/3] replace deprecated actions/checkout@v4 with actions/checkout@v5 --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index dddf586..1a412bd 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -64,7 +64,7 @@ jobs: runs-on: ${{ matrix.builder }} steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v5 with: submodules: "recursive"