From 607539d8218ad94ced4c73628faaca23f6c7258a Mon Sep 17 00:00:00 2001 From: jangko Date: Thu, 20 Apr 2023 16:52:42 +0700 Subject: [PATCH] upgrade github actions to v3 --- .github/workflows/ci.yml | 6 +++--- eth/p2p.nim | 2 +- eth/p2p/discovery.nim | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index da5dc50..e11343b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 }}' diff --git a/eth/p2p.nim b/eth/p2p.nim index 0d7277c..ede02ea 100644 --- a/eth/p2p.nim +++ b/eth/p2p.nim @@ -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] diff --git a/eth/p2p/discovery.nim b/eth/p2p/discovery.nim index 6c85e52..2f05e73 100644 --- a/eth/p2p/discovery.nim +++ b/eth/p2p/discovery.nim @@ -8,7 +8,7 @@ {.push raises: [Defect].} import - std/times, + std/[times, net], chronos, stint, nimcrypto/keccak, chronicles, stew/[objects, results], ".."/[keys, rlp],