upgrade github actions to v3

This commit is contained in:
jangko 2023-04-20 16:52:42 +07:00
parent 4b818e8307
commit 607539d821
No known key found for this signature in database
GPG Key ID: 31702AE10541E6B9
3 changed files with 5 additions and 5 deletions

View File

@ -47,7 +47,7 @@ jobs:
timeout-minutes: 60
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Install build dependencies (Linux i386)
if: runner.os == 'Linux' && matrix.target.cpu == 'i386'
@ -79,7 +79,7 @@ jobs:
- name: Restore rocksdb from cache (Macos)
if: runner.os != 'Windows'
id: rocksdb-cache
uses: actions/cache@v1
uses: actions/cache@v3
with:
path: rocks-db-cache-${{ matrix.target.cpu }}
key: 'rocksdb-v1-${{ matrix.target.os }}-${{ matrix.target.cpu }}'
@ -151,7 +151,7 @@ jobs:
- name: Restore Nim DLLs dependencies (Windows) from cache
if: runner.os == 'Windows'
id: windows-dlls-cache
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: external/dlls-${{ matrix.target.cpu }}
key: 'dlls-${{ matrix.target.cpu }}'

View File

@ -8,7 +8,7 @@
{.push raises: [Defect].}
import
std/[tables, algorithm, random, typetraits, strutils],
std/[tables, algorithm, random, typetraits, strutils, net],
chronos, chronos/timer, chronicles,
./keys, ./p2p/private/p2p_types,
./p2p/[kademlia, discovery, enode, peer_pool, rlpx]

View File

@ -8,7 +8,7 @@
{.push raises: [Defect].}
import
std/times,
std/[times, net],
chronos, stint, nimcrypto/keccak, chronicles,
stew/[objects, results],
".."/[keys, rlp],