mirror of https://github.com/status-im/nim-eth.git
upgrade github actions to v3
This commit is contained in:
parent
4b818e8307
commit
607539d821
|
@ -47,7 +47,7 @@ jobs:
|
||||||
timeout-minutes: 60
|
timeout-minutes: 60
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Install build dependencies (Linux i386)
|
- name: Install build dependencies (Linux i386)
|
||||||
if: runner.os == 'Linux' && matrix.target.cpu == 'i386'
|
if: runner.os == 'Linux' && matrix.target.cpu == 'i386'
|
||||||
|
@ -79,7 +79,7 @@ jobs:
|
||||||
- name: Restore rocksdb from cache (Macos)
|
- name: Restore rocksdb from cache (Macos)
|
||||||
if: runner.os != 'Windows'
|
if: runner.os != 'Windows'
|
||||||
id: rocksdb-cache
|
id: rocksdb-cache
|
||||||
uses: actions/cache@v1
|
uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
path: rocks-db-cache-${{ matrix.target.cpu }}
|
path: rocks-db-cache-${{ matrix.target.cpu }}
|
||||||
key: 'rocksdb-v1-${{ matrix.target.os }}-${{ 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
|
- name: Restore Nim DLLs dependencies (Windows) from cache
|
||||||
if: runner.os == 'Windows'
|
if: runner.os == 'Windows'
|
||||||
id: windows-dlls-cache
|
id: windows-dlls-cache
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
path: external/dlls-${{ matrix.target.cpu }}
|
path: external/dlls-${{ matrix.target.cpu }}
|
||||||
key: 'dlls-${{ matrix.target.cpu }}'
|
key: 'dlls-${{ matrix.target.cpu }}'
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
{.push raises: [Defect].}
|
{.push raises: [Defect].}
|
||||||
|
|
||||||
import
|
import
|
||||||
std/[tables, algorithm, random, typetraits, strutils],
|
std/[tables, algorithm, random, typetraits, strutils, net],
|
||||||
chronos, chronos/timer, chronicles,
|
chronos, chronos/timer, chronicles,
|
||||||
./keys, ./p2p/private/p2p_types,
|
./keys, ./p2p/private/p2p_types,
|
||||||
./p2p/[kademlia, discovery, enode, peer_pool, rlpx]
|
./p2p/[kademlia, discovery, enode, peer_pool, rlpx]
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
{.push raises: [Defect].}
|
{.push raises: [Defect].}
|
||||||
|
|
||||||
import
|
import
|
||||||
std/times,
|
std/[times, net],
|
||||||
chronos, stint, nimcrypto/keccak, chronicles,
|
chronos, stint, nimcrypto/keccak, chronicles,
|
||||||
stew/[objects, results],
|
stew/[objects, results],
|
||||||
".."/[keys, rlp],
|
".."/[keys, rlp],
|
||||||
|
|
Loading…
Reference in New Issue