From: Elias Rohrer Date: Mon, 12 Aug 2024 10:54:02 +0000 (+0200) Subject: Upgrade all github actions to `v4` variants X-Git-Tag: v0.0.124-beta~15^2~1 X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=f316a3fef9250f35247a5ff089049518a4485910;p=rust-lightning Upgrade all github actions to `v4` variants --- diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e887194fc..d6d910656 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -22,7 +22,7 @@ jobs: runs-on: ${{ matrix.platform }} steps: - name: Checkout source code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install Rust ${{ matrix.toolchain }} toolchain run: | curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile=minimal --default-toolchain ${{ matrix.toolchain }} @@ -51,7 +51,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout source code - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 - name: Install Rust stable toolchain @@ -73,14 +73,14 @@ jobs: TOOLCHAIN: stable steps: - name: Checkout source code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install Rust ${{ env.TOOLCHAIN }} toolchain run: | curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile=minimal --default-toolchain ${{ env.TOOLCHAIN }} rustup override set ${{ env.TOOLCHAIN }} - name: Cache routing graph snapshot id: cache-graph - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: lightning/net_graph-2023-12-10.bin key: ldk-net_graph-v0.0.118-2023-12-10.bin @@ -97,7 +97,7 @@ jobs: EXPECTED_ROUTING_GRAPH_SNAPSHOT_SHASUM: e94b38ef4b3ce683893bf6a3ee28d60cb37c73b059403ff77b7e7458157968c2 - name: Cache scorer snapshot id: cache-scorer - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: lightning/scorer-2023-12-10.bin key: ldk-scorer-v0.0.118-2023-12-10.bin @@ -143,7 +143,7 @@ jobs: TOOLCHAIN: stable steps: - name: Checkout source code - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 - name: Install Rust ${{ env.TOOLCHAIN }} toolchain @@ -166,7 +166,7 @@ jobs: TOOLCHAIN: stable steps: - name: Checkout source code - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 - name: Install Rust ${{ env.TOOLCHAIN }} toolchain @@ -195,7 +195,7 @@ jobs: TOOLCHAIN: 1.63 steps: - name: Checkout source code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install Rust ${{ env.TOOLCHAIN }} toolchain run: | curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile=minimal --default-toolchain ${{ env.TOOLCHAIN }} @@ -218,7 +218,7 @@ jobs: TOOLCHAIN: stable steps: - name: Checkout source code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install Rust ${{ env.TOOLCHAIN }} toolchain run: | curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile=minimal --default-toolchain ${{ env.TOOLCHAIN }} @@ -236,7 +236,7 @@ jobs: TOOLCHAIN: 1.63.0 steps: - name: Checkout source code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install Rust ${{ env.TOOLCHAIN }} toolchain run: | curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile=minimal --default-toolchain ${{ env.TOOLCHAIN }} @@ -251,7 +251,7 @@ jobs: runs-on: ubuntu-latest if: github.ref_name != 'main' # `main` has no diff with itself steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 - name: Relative diff