diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b7a182423..a0fbc4a63 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,5 +1,5 @@ # Nimbus -# Copyright (c) 2020-2023 Status Research & Development GmbH +# Copyright (c) 2020-2024 Status Research & Development GmbH # Licensed under either of # * Apache License, version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or # http://www.apache.org/licenses/LICENSE-2.0) @@ -76,7 +76,7 @@ jobs: runs-on: ${{ matrix.builder }} steps: - name: Checkout nimbus-eth1 - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Derive environment variables run: | @@ -150,7 +150,7 @@ jobs: - name: Restore rocksdb from cache (Macos/Linux) if: runner.os != 'Windows' id: rocksdb-cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: rocks-db-cache-${{ matrix.target.cpu }} key: 'rocksdb-v2-${{ matrix.target.os }}-${{ matrix.target.cpu }}' @@ -180,7 +180,7 @@ jobs: - name: Restore llvm-mingw (Windows) from cache if: runner.os == 'Windows' id: windows-mingw-cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: external/mingw-${{ matrix.target.cpu }} key: 'mingw-llvm-17-${{ matrix.target.cpu }}' @@ -188,7 +188,7 @@ jobs: - name: Restore Nim DLLs dependencies (Windows) from cache if: runner.os == 'Windows' id: windows-dlls-cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: external/dlls-${{ matrix.target.cpu }} # according to docu, idle caches are kept for up to 7 days @@ -250,7 +250,7 @@ jobs: - name: Restore prebuilt Nim from cache id: nim-cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: NimBinCache key: 'nim-${{ matrix.target.os }}-${{ matrix.target.cpu }}-${{ steps.versions.outputs.nimbus_build_system }}-${{ matrix.target.evmc }}' @@ -314,7 +314,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 2 # In PR, has extra merge commit: ^1 = PR, ^2 = base diff --git a/.github/workflows/fluffy.yml b/.github/workflows/fluffy.yml index dae46822d..375bdb93a 100644 --- a/.github/workflows/fluffy.yml +++ b/.github/workflows/fluffy.yml @@ -1,5 +1,5 @@ # Fluffy -# Copyright (c) 2021-2023 Status Research & Development GmbH +# Copyright (c) 2021-2024 Status Research & Development GmbH # Licensed and distributed under either of # * MIT license (license terms in the root directory or at https://opensource.org/licenses/MIT). # * Apache v2 license (license terms in the root directory or at https://www.apache.org/licenses/LICENSE-2.0). @@ -43,7 +43,7 @@ jobs: if: github.event_name == 'push' steps: - name: Checkout nimbus-eth1 - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install modprobe run: | @@ -65,7 +65,7 @@ jobs: - name: Restore prebuilt Nim binaries from cache id: nim-cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: NimBinaries key: 'nim-linux-amd64-${{ steps.versions.outputs.nimbus_build_system }}-fluffy' @@ -133,7 +133,7 @@ jobs: runs-on: ${{ matrix.builder }} steps: - name: Checkout nimbus-eth1 - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Derive environment variables run: | @@ -194,7 +194,7 @@ jobs: - name: Restore llvm-mingw (Windows) from cache if: runner.os == 'Windows' id: windows-mingw-cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: external/mingw-${{ matrix.target.cpu }} key: 'mingw-llvm-17-${{ matrix.target.cpu }}' @@ -202,7 +202,7 @@ jobs: - name: Restore Nim DLLs dependencies (Windows) from cache if: runner.os == 'Windows' id: windows-dlls-cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: external/dlls-${{ matrix.target.cpu }} key: 'dlls-${{ matrix.target.cpu }}-fluffy' @@ -253,7 +253,7 @@ jobs: - name: Restore prebuilt Nim binaries from cache id: nim-cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: NimBinaries key: 'nim-${{ matrix.target.os }}-${{ matrix.target.cpu }}-${{ steps.versions.outputs.nimbus_build_system }}-fluffy' diff --git a/.github/workflows/fluffy_docs.yml b/.github/workflows/fluffy_docs.yml index 0f81adaa8..3944a606f 100644 --- a/.github/workflows/fluffy_docs.yml +++ b/.github/workflows/fluffy_docs.yml @@ -1,5 +1,5 @@ # Fluffy -# Copyright (c) 2023 Status Research & Development GmbH +# Copyright (c) 2023-2024 Status Research & Development GmbH # Licensed and distributed under either of # * MIT license (license terms in the root directory or at https://opensource.org/licenses/MIT). # * Apache v2 license (license terms in the root directory or at https://www.apache.org/licenses/LICENSE-2.0). @@ -26,7 +26,7 @@ jobs: with: python-version: 3.x - run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: key: mkdocs-material-${{ env.cache_id }} path: .cache diff --git a/.github/workflows/fluffy_nightly_docker.yml b/.github/workflows/fluffy_nightly_docker.yml index 799f805da..1ecde2d85 100644 --- a/.github/workflows/fluffy_nightly_docker.yml +++ b/.github/workflows/fluffy_nightly_docker.yml @@ -1,5 +1,5 @@ # Fluffy -# Copyright (c) 2023 Status Research & Development GmbH +# Copyright (c) 2023-2024 Status Research & Development GmbH # Licensed and distributed under either of # * MIT license (license terms in the root directory or at https://opensource.org/licenses/MIT). # * Apache v2 license (license terms in the root directory or at https://www.apache.org/licenses/LICENSE-2.0). @@ -19,7 +19,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Login to Docker Hub uses: docker/login-action@v1 with: diff --git a/.github/workflows/nightly_build.yml b/.github/workflows/nightly_build.yml index d04bd2f22..b96d27b76 100644 --- a/.github/workflows/nightly_build.yml +++ b/.github/workflows/nightly_build.yml @@ -1,3 +1,13 @@ +# Nimbus +# Copyright (c) 2020-2024 Status Research & Development GmbH +# Licensed under either of +# * Apache License, version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or +# http://www.apache.org/licenses/LICENSE-2.0) +# * MIT license ([LICENSE-MIT](LICENSE-MIT) or +# http://opensource.org/licenses/MIT) +# at your option. This file may not be copied, modified, or distributed except +# according to those terms. + name: Nightly build on: schedule: @@ -10,7 +20,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: ref: ${{ github.ref }} @@ -29,7 +39,7 @@ jobs: echo "archive_dir=${NEW_ARCHIVE_DIR}" >> $GITHUB_OUTPUT - name: Upload archive artefact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: Linux_amd64_archive path: | @@ -38,7 +48,7 @@ jobs: retention-days: 2 - name: Upload checksum artefact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: Linux_amd64_checksum path: ./dist/${{ steps.make_dist.outputs.archive_dir }}/build/nimbus.sha512sum @@ -57,7 +67,7 @@ jobs: sudo apt-get -qq -y install binfmt-support qemu-user-static - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: ref: ${{ github.ref }} @@ -76,7 +86,7 @@ jobs: echo "archive_dir=${NEW_ARCHIVE_DIR}" >> $GITHUB_OUTPUT - name: Upload archive artefact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: Linux_arm64_archive path: | @@ -85,7 +95,7 @@ jobs: retention-days: 2 - name: Upload checksum artefact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: Linux_arm64_checksum path: ./dist/${{ steps.make_dist.outputs.archive_dir }}/build/nimbus.sha512sum @@ -96,7 +106,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: ref: ${{ github.ref }} @@ -115,7 +125,7 @@ jobs: echo "archive_dir=${NEW_ARCHIVE_DIR}" >> $GITHUB_OUTPUT - name: Upload archive artefact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: Windows_amd64_archive path: | @@ -124,7 +134,7 @@ jobs: retention-days: 2 - name: Upload checksum artefact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: Windows_amd64_checksum path: ./dist/${{ steps.make_dist.outputs.archive_dir }}/build/nimbus.sha512sum @@ -135,7 +145,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: ref: ${{ github.ref }} @@ -154,7 +164,7 @@ jobs: echo "archive_dir=${NEW_ARCHIVE_DIR}" >> $GITHUB_OUTPUT - name: Upload archive artefact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: macOS_amd64_archive path: | @@ -163,7 +173,7 @@ jobs: retention-days: 2 - name: Upload checksum artefact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: macOS_amd64_checksum path: ./dist/${{ steps.make_dist.outputs.archive_dir }}/build/nimbus.sha512sum @@ -174,7 +184,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: ref: ${{ github.ref }} @@ -193,7 +203,7 @@ jobs: echo "archive_dir=${NEW_ARCHIVE_DIR}" >> $GITHUB_OUTPUT - name: Upload archive artefact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: macOS_arm64_archive path: | @@ -202,7 +212,7 @@ jobs: retention-days: 2 - name: Upload checksum artefact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: macOS_arm64_checksum path: ./dist/${{ steps.make_dist.outputs.archive_dir }}/build/nimbus.sha512sum @@ -214,12 +224,12 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: ref: ${{ github.ref }} - name: Download artefacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 - name: Create release notes run: | diff --git a/.github/workflows/nimbus_verified_proxy.yml b/.github/workflows/nimbus_verified_proxy.yml index 4d32a22b7..5b516ab19 100644 --- a/.github/workflows/nimbus_verified_proxy.yml +++ b/.github/workflows/nimbus_verified_proxy.yml @@ -1,3 +1,13 @@ +# Nimbus +# Copyright (c) 2021-2024 Status Research & Development GmbH +# Licensed under either of +# * Apache License, version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or +# http://www.apache.org/licenses/LICENSE-2.0) +# * MIT license ([LICENSE-MIT](LICENSE-MIT) or +# http://opensource.org/licenses/MIT) +# at your option. This file may not be copied, modified, or distributed except +# according to those terms. + name: Nimbus verified proxy CI on: push: @@ -56,7 +66,7 @@ jobs: runs-on: ${{ matrix.builder }} steps: - name: Checkout nimbus-eth1 - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Derive environment variables run: | @@ -118,7 +128,7 @@ jobs: - name: Restore llvm-mingw (Windows) from cache if: runner.os == 'Windows' id: windows-mingw-cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: external/mingw-${{ matrix.target.cpu }} key: 'mingw-llvm-17-${{ matrix.target.cpu }}' @@ -126,7 +136,7 @@ jobs: - name: Restore Nim DLLs dependencies (Windows) from cache if: runner.os == 'Windows' id: windows-dlls-cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: external/dlls-${{ matrix.target.cpu }} key: 'dlls-${{ matrix.target.cpu }}-verified-proxy' @@ -177,7 +187,7 @@ jobs: - name: Restore prebuilt Nim from cache id: nim-cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: NimBinCache key: 'nim-${{ matrix.target.os }}-${{ matrix.target.cpu }}-${{ steps.versions.outputs.nimbus_build_system }}-verified-proxy' diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b2f93a65f..bb2bdc2df 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,3 +1,13 @@ +# Nimbus +# Copyright (c) 2020-2024 Status Research & Development GmbH +# Licensed under either of +# * Apache License, version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or +# http://www.apache.org/licenses/LICENSE-2.0) +# * MIT license ([LICENSE-MIT](LICENSE-MIT) or +# http://opensource.org/licenses/MIT) +# at your option. This file may not be copied, modified, or distributed except +# according to those terms. + on: push: tags: @@ -11,7 +21,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Build project id: make_dist run: | @@ -22,13 +32,13 @@ jobs: echo "archive_dir=${ARCHIVE%.tar.gz}" >> $GITHUB_OUTPUT tar -xzf ${ARCHIVE} ${ARCHIVE%.tar.gz}/build/nimbus.sha512sum - name: Upload archive artefact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: Linux_amd64_archive path: ./dist/${{ steps.make_dist.outputs.archive }} retention-days: 2 - name: Upload checksum artefact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: Linux_amd64_checksum path: ./dist/${{ steps.make_dist.outputs.archive_dir }}/build/nimbus.sha512sum @@ -61,7 +71,7 @@ jobs: sudo apt-get -qq update sudo apt-get -qq -y install binfmt-support qemu-user-static - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Build project id: make_dist run: | @@ -72,13 +82,13 @@ jobs: echo "archive_dir=${ARCHIVE%.tar.gz}" >> $GITHUB_OUTPUT tar -xzf ${ARCHIVE} ${ARCHIVE%.tar.gz}/build/nimbus.sha512sum - name: Upload archive artefact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: Linux_arm64_archive path: ./dist/${{ steps.make_dist.outputs.archive }} retention-days: 2 - name: Upload checksum artefact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: Linux_arm64_checksum path: ./dist/${{ steps.make_dist.outputs.archive_dir }}/build/nimbus.sha512sum @@ -105,7 +115,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Build project id: make_dist run: | @@ -116,13 +126,13 @@ jobs: echo "archive_dir=${ARCHIVE%.tar.gz}" >> $GITHUB_OUTPUT tar -xzf ${ARCHIVE} ${ARCHIVE%.tar.gz}/build/nimbus.sha512sum - name: Upload archive artefact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: Windows_amd64_archive path: ./dist/${{ steps.make_dist.outputs.archive }} retention-days: 2 - name: Upload checksum artefact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: Windows_amd64_checksum path: ./dist/${{ steps.make_dist.outputs.archive_dir }}/build/nimbus.sha512sum @@ -132,7 +142,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Build project id: make_dist run: | @@ -143,13 +153,13 @@ jobs: echo "archive_dir=${ARCHIVE%.tar.gz}" >> $GITHUB_OUTPUT tar -xzf ${ARCHIVE} ${ARCHIVE%.tar.gz}/build/nimbus.sha512sum - name: Upload archive artefact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: macOS_amd64_archive path: ./dist/${{ steps.make_dist.outputs.archive }} retention-days: 2 - name: Upload checksum artefact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: macOS_amd64_checksum path: ./dist/${{ steps.make_dist.outputs.archive_dir }}/build/nimbus.sha512sum @@ -159,7 +169,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Build project id: make_dist run: | @@ -170,13 +180,13 @@ jobs: echo "archive_dir=${ARCHIVE%.tar.gz}" >> $GITHUB_OUTPUT tar -xzf ${ARCHIVE} ${ARCHIVE%.tar.gz}/build/nimbus.sha512sum - name: Upload archive artefact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: macOS_arm64_archive path: ./dist/${{ steps.make_dist.outputs.archive }} retention-days: 2 - name: Upload checksum artefact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: macOS_arm64_checksum path: ./dist/${{ steps.make_dist.outputs.archive_dir }}/build/nimbus.sha512sum @@ -187,7 +197,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Download artefacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 - name: Create release notes run: | cat > release_notes.md <> $GITHUB_OUTPUT - name: Restore prebuilt Nim from cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: NimBinaries key: 'nim-linux-amd64-${{ steps.versions.outputs.nimbus_build_system }}-sim' @@ -43,7 +53,7 @@ jobs: ${SIM_SCRIPT} "Linux-amd64" - name: Upload artefact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: linux_amd64_stat path: ./simulators.md @@ -54,7 +64,7 @@ jobs: runs-on: macos-11 steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Get latest nimbus-build-system commit hash id: versions @@ -66,7 +76,7 @@ jobs: echo "nimbus_build_system=$nbsHash" >> $GITHUB_OUTPUT - name: Restore prebuilt Nim from cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: NimBinaries key: 'nim-macos-amd64-${{ steps.versions.outputs.nimbus_build_system }}-sim' @@ -84,7 +94,7 @@ jobs: ${SIM_SCRIPT} "MacOS-amd64" - name: Upload artefact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: macos_amd64_stat path: ./simulators.md @@ -98,12 +108,12 @@ jobs: shell: bash steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Restore llvm-mingw (Windows) from cache if: runner.os == 'Windows' id: windows-mingw-cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: external/mingw-amd64 key: 'mingw-llvm-17-sim' @@ -136,7 +146,7 @@ jobs: echo "nimbus_build_system=$nbsHash" >> $GITHUB_OUTPUT - name: Restore prebuilt Nim from cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: NimBinaries key: 'nim-windows-amd64-${{ steps.versions.outputs.nimbus_build_system }}-sim' @@ -153,7 +163,7 @@ jobs: ${SIM_SCRIPT} "Windows-amd64" - name: Upload artefact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: windows_amd64_stat path: ./simulators.md @@ -165,12 +175,12 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: ref: master - name: Download artefacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 - name: Create statistics notes run: |