Skip to content

Commit 4f2f64c

Browse files
authored
replace deprecated actions/cache@v4 with actions/cache@v5 (#97)
* replace deprecated actions/cache@v4 with actions/cache@v5 * replace deprecated actions/checkout@v4 with actions/checkout@v5 * replace deprecated actions/checkout@v4 with actions/checkout@v5
1 parent 7ebc52e commit 4f2f64c

4 files changed

Lines changed: 6 additions & 17 deletions

File tree

.github/actions/install_nim/action.yml

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -37,17 +37,6 @@ runs:
3737
chmod 755 external/bin/gcc external/bin/g++
3838
echo '${{ github.workspace }}/external/bin' >> $GITHUB_PATH
3939
40-
- name: MSYS2 (Windows i386)
41-
if: inputs.os == 'Windows' && inputs.cpu == 'i386'
42-
uses: msys2/setup-msys2@v2
43-
with:
44-
path-type: inherit
45-
msystem: MINGW32
46-
install: >-
47-
base-devel
48-
git
49-
mingw-w64-i686-toolchain
50-
5140
- name: MSYS2 (Windows amd64)
5241
if: inputs.os == 'Windows' && inputs.cpu == 'amd64'
5342
uses: msys2/setup-msys2@v2
@@ -61,7 +50,7 @@ runs:
6150
- name: Restore Nim DLLs dependencies (Windows) from cache
6251
if: inputs.os == 'Windows'
6352
id: windows-dlls-cache
64-
uses: actions/cache@v4
53+
uses: actions/cache@v5
6554
with:
6655
path: external/dlls
6756
key: 'dlls'
@@ -116,7 +105,7 @@ runs:
116105
117106
- name: Restore Nim from cache
118107
id: nim-cache
119-
uses: actions/cache@v4
108+
uses: actions/cache@v5
120109
with:
121110
path: '${{ github.workspace }}/nim'
122111
key: ${{ inputs.os }}-${{ inputs.cpu }}-nim-${{ inputs.nim_ref }}-cache-${{ env.cache_nonce }}

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- name: Checkout repository
13-
uses: actions/checkout@v4
13+
uses: actions/checkout@v5
1414
with:
1515
fetch-depth: 2 # In PR, has extra merge commit: ^1 = PR, ^2 = base
1616

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,14 +64,14 @@ jobs:
6464
runs-on: ${{ matrix.builder }}
6565
steps:
6666
- name: Checkout
67-
uses: actions/checkout@v4
67+
uses: actions/checkout@v5
6868
with:
6969
submodules: "recursive"
7070

7171
- name: Restore llvm-mingw (Windows) from cache
7272
if: runner.os == 'Windows'
7373
id: windows-mingw-cache
74-
uses: actions/cache@v4
74+
uses: actions/cache@v5
7575
with:
7676
path: external/mingw-${{ matrix.platform.cpu }}
7777
key: 'mingw-llvm-17-${{ matrix.platform.cpu }}'

lsquic.nimble

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ requires "unittest2"
1515
requires "chronicles >= 0.11.0"
1616
requires "https://github.com/vacp2p/nim-boringssl >= 0.0.4"
1717

18-
import os, strutils, sequtils
18+
import std/[os, strutils, sequtils]
1919

2020
var flags = getEnv("NIMFLAGS", "") # Extra flags for the compiler
2121

0 commit comments

Comments
 (0)