diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a0b2059f..dbfe2da4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -176,7 +176,7 @@ jobs: - name: restore test rustdocs id: cache-test-rustdocs - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: semver/localdata/test_data/ key: test-rustdocs-${{ runner.os }}-${{ steps.toolchain.outputs.cachekey }}-${{ hashFiles('semver/test_crates/**/*.rs') }} @@ -240,7 +240,7 @@ jobs: mv target/debug/cargo-semver-checks ../bins/cargo-semver-checks - name: cache binary - uses: actions/cache/save@v3 + uses: actions/cache/save@v4 with: path: bins/ key: bins-${{ runner.os }}-${{ github.run_id }}-${{ github.run_attempt }} @@ -290,7 +290,7 @@ jobs: mv target\debug\cargo-semver-checks.exe ..\bins\cargo-semver-checks.exe - name: cache binary - uses: actions/cache/save@v3 + uses: actions/cache/save@v4 with: path: bins\ key: bins-${{ runner.os }}-${{ github.run_id }}-${{ github.run_attempt }} @@ -333,7 +333,7 @@ jobs: - name: Restore binary id: cache-binary - uses: actions/cache/restore@v3 + uses: actions/cache/restore@v4 with: path: bins/ key: bins-${{ runner.os }}-${{ github.run_id }}-${{ github.run_attempt }} @@ -349,7 +349,7 @@ jobs: - name: Restore rustdoc id: cache - uses: actions/cache/restore@v3 + uses: actions/cache/restore@v4 with: key: cross-version-caching-${{ runner.os }}-${{ steps.toolchain.outputs.cachekey }}-${{ hashFiles('semver/**/Cargo.lock') }}-${{ github.job }}-rustdoc path: subject/target/semver-checks/cache @@ -368,7 +368,7 @@ jobs: ../bins/cargo-semver-checks semver-checks check-release --manifest-path="../subject/core/Cargo.toml" --verbose - name: Save rustdoc - uses: actions/cache/save@v3 + uses: actions/cache/save@v4 if: steps.cache.outputs.cache-hit != 'true' with: key: cross-version-caching-${{ runner.os }}-${{ steps.toolchain.outputs.cachekey }}-${{ hashFiles('semver/**/Cargo.lock') }}-${{ github.job }}-rustdoc @@ -433,7 +433,7 @@ jobs: - name: Restore binary id: cache-binary - uses: actions/cache/restore@v3 + uses: actions/cache/restore@v4 with: path: bins/ key: bins-${{ runner.os }}-${{ github.run_id }}-${{ github.run_attempt }} @@ -448,7 +448,7 @@ jobs: - name: Restore rustdoc id: cache - uses: actions/cache/restore@v3 + uses: actions/cache/restore@v4 with: key: cross-feature-caching-${{ runner.os }}-${{ steps.toolchain.outputs.cachekey }}-${{ hashFiles('semver/**/Cargo.lock') }}-${{ github.job }}-rustdoc path: subject/target/semver-checks/cache @@ -500,7 +500,7 @@ jobs: rm -f unexpectedly_did_not_fail - name: Save rustdoc - uses: actions/cache/save@v3 + uses: actions/cache/save@v4 if: steps.cache.outputs.cache-hit != 'true' with: key: cross-feature-caching-${{ runner.os }}-${{ steps.toolchain.outputs.cachekey }}-${{ hashFiles('semver/**/Cargo.lock') }}-${{ github.job }}-rustdoc @@ -545,7 +545,7 @@ jobs: - name: Restore binary id: cache-binary - uses: actions/cache/restore@v3 + uses: actions/cache/restore@v4 with: path: bins/ key: bins-${{ runner.os }}-${{ github.run_id }}-${{ github.run_attempt }} @@ -553,7 +553,7 @@ jobs: - name: Restore rustdoc id: cache - uses: actions/cache/restore@v3 + uses: actions/cache/restore@v4 with: key: ${{ runner.os }}-${{ steps.toolchain.outputs.cachekey }}-${{ hashFiles('semver/**/Cargo.lock') }}-${{ github.job }}-rustdoc path: subject/target/semver-checks/cache @@ -578,7 +578,7 @@ jobs: ../bins/cargo-semver-checks semver-checks check-release --manifest-path="../subject/core/Cargo.toml" --package="libp2p-core" --verbose - name: Save rustdoc - uses: actions/cache/save@v3 + uses: actions/cache/save@v4 if: steps.cache.outputs.cache-hit != 'true' with: key: ${{ runner.os }}-${{ steps.toolchain.outputs.cachekey }}-${{ hashFiles('semver/**/Cargo.lock') }}-${{ github.job }}-rustdoc @@ -624,7 +624,7 @@ jobs: - name: Restore binary id: cache-binary - uses: actions/cache/restore@v3 + uses: actions/cache/restore@v4 with: path: bins/ key: bins-${{ runner.os }}-${{ github.run_id }}-${{ github.run_attempt }} @@ -632,7 +632,7 @@ jobs: - name: Restore rustdoc id: cache - uses: actions/cache/restore@v3 + uses: actions/cache/restore@v4 with: key: ${{ runner.os }}-${{ steps.toolchain.outputs.cachekey }}-${{ hashFiles('semver/**/Cargo.lock') }}-${{ github.job }}-rustdoc path: subject/target/semver-checks/cache @@ -655,7 +655,7 @@ jobs: ../bins/cargo-semver-checks semver-checks check-release --manifest-path="../subject/protocols/relay/Cargo.toml" --verbose - name: Save rustdoc - uses: actions/cache/save@v3 + uses: actions/cache/save@v4 if: steps.cache.outputs.cache-hit != 'true' with: key: ${{ runner.os }}-${{ steps.toolchain.outputs.cachekey }}-${{ hashFiles('semver/**/Cargo.lock') }}-${{ github.job }}-rustdoc @@ -698,7 +698,7 @@ jobs: - name: Restore binary id: cache-binary - uses: actions/cache/restore@v3 + uses: actions/cache/restore@v4 with: path: bins/ key: bins-${{ runner.os }}-${{ github.run_id }}-${{ github.run_attempt }} @@ -706,7 +706,7 @@ jobs: - name: Restore rustdoc id: cache - uses: actions/cache/restore@v3 + uses: actions/cache/restore@v4 with: key: ${{ runner.os }}-${{ steps.toolchain.outputs.cachekey }}-${{ hashFiles('semver/**/Cargo.lock') }}-${{ github.job }}-rustdoc path: subject/target/semver-checks/cache @@ -729,7 +729,7 @@ jobs: ../bins/cargo-semver-checks semver-checks check-release --manifest-path="../subject/protocols/request-response/Cargo.toml" --baseline-version 0.23.0 --verbose - name: Save rustdoc - uses: actions/cache/save@v3 + uses: actions/cache/save@v4 if: steps.cache.outputs.cache-hit != 'true' with: key: ${{ runner.os }}-${{ steps.toolchain.outputs.cachekey }}-${{ hashFiles('semver/**/Cargo.lock') }}-${{ github.job }}-rustdoc @@ -770,7 +770,7 @@ jobs: - name: Restore binary id: cache-binary - uses: actions/cache/restore@v3 + uses: actions/cache/restore@v4 with: path: bins/ key: bins-${{ runner.os }}-${{ github.run_id }}-${{ github.run_attempt }} @@ -778,7 +778,7 @@ jobs: - name: Restore rustdoc id: cache - uses: actions/cache/restore@v3 + uses: actions/cache/restore@v4 with: key: ${{ runner.os }}-${{ steps.toolchain.outputs.cachekey }}-${{ hashFiles('semver/**/Cargo.lock') }}-${{ github.job }}-rustdoc path: subject/target/semver-checks/cache @@ -795,7 +795,7 @@ jobs: ../bins/cargo-semver-checks semver-checks check-release --manifest-path="../subject/transports/uds/Cargo.toml" --verbose - name: Save rustdoc - uses: actions/cache/save@v3 + uses: actions/cache/save@v4 if: steps.cache.outputs.cache-hit != 'true' with: key: ${{ runner.os }}-${{ steps.toolchain.outputs.cachekey }}-${{ hashFiles('semver/**/Cargo.lock') }}-${{ github.job }}-rustdoc @@ -843,7 +843,7 @@ jobs: - name: Restore rustdoc id: cache - uses: actions/cache/restore@v3 + uses: actions/cache/restore@v4 with: key: ${{ runner.os }}-${{ steps.toolchain.outputs.cachekey }}-${{ hashFiles('semver/**/Cargo.lock') }}-${{ github.job }}-rustdoc path: subject/target/semver-checks/cache @@ -854,7 +854,7 @@ jobs: cargo run semver-checks check-release --manifest-path="../subject/core-graphics/Cargo.toml" --verbose - name: Save rustdoc - uses: actions/cache/save@v3 + uses: actions/cache/save@v4 if: steps.cache.outputs.cache-hit != 'true' with: key: ${{ runner.os }}-${{ steps.toolchain.outputs.cachekey }}-${{ hashFiles('semver/**/Cargo.lock') }}-${{ github.job }}-rustdoc @@ -892,7 +892,7 @@ jobs: - name: Restore binary id: cache-binary - uses: actions/cache/restore@v3 + uses: actions/cache/restore@v4 with: path: bins/ key: bins-${{ runner.os }}-${{ github.run_id }}-${{ github.run_attempt }} @@ -900,7 +900,7 @@ jobs: - name: Restore rustdoc id: cache - uses: actions/cache/restore@v3 + uses: actions/cache/restore@v4 with: key: ${{ runner.os }}-${{ steps.toolchain.outputs.cachekey }}-${{ hashFiles('semver/**/Cargo.lock') }}-${{ github.job }}-rustdoc path: subject/target/semver-checks/cache @@ -917,7 +917,7 @@ jobs: ../bins/cargo-semver-checks semver-checks check-release --manifest-path="../subject/crates/bevy_core/Cargo.toml" --verbose - name: Save rustdoc - uses: actions/cache/save@v3 + uses: actions/cache/save@v4 if: steps.cache.outputs.cache-hit != 'true' with: key: ${{ runner.os }}-${{ steps.toolchain.outputs.cachekey }}-${{ hashFiles('semver/**/Cargo.lock') }}-${{ github.job }}-rustdoc @@ -955,7 +955,7 @@ jobs: - name: Restore binary id: cache-binary - uses: actions/cache/restore@v3 + uses: actions/cache/restore@v4 with: path: bins/ key: bins-${{ runner.os }}-${{ github.run_id }}-${{ github.run_attempt }} @@ -963,7 +963,7 @@ jobs: - name: Restore rustdoc id: cache - uses: actions/cache/restore@v3 + uses: actions/cache/restore@v4 with: key: ${{ runner.os }}-${{ steps.toolchain.outputs.cachekey }}-${{ hashFiles('semver/**/Cargo.lock') }}-${{ github.job }}-rustdoc path: subject/target/semver-checks/cache @@ -980,7 +980,7 @@ jobs: ../bins/cargo-semver-checks semver-checks check-release --manifest-path="../subject/crates/bevy_gltf/Cargo.toml" --baseline-version 0.9.0 --verbose - name: Save rustdoc - uses: actions/cache/save@v3 + uses: actions/cache/save@v4 if: steps.cache.outputs.cache-hit != 'true' with: key: ${{ runner.os }}-${{ steps.toolchain.outputs.cachekey }}-${{ hashFiles('semver/**/Cargo.lock') }}-${{ github.job }}-rustdoc @@ -1017,7 +1017,7 @@ jobs: - name: Restore binary id: cache-binary - uses: actions/cache/restore@v3 + uses: actions/cache/restore@v4 with: path: bins/ key: bins-${{ runner.os }}-${{ github.run_id }}-${{ github.run_attempt }} @@ -1025,7 +1025,7 @@ jobs: - name: Restore rustdoc id: cache - uses: actions/cache/restore@v3 + uses: actions/cache/restore@v4 with: key: ${{ runner.os }}-${{ steps.toolchain.outputs.cachekey }}-${{ hashFiles('semver/**/Cargo.lock') }}-${{ github.job }}-rustdoc path: subject/target/semver-checks/cache @@ -1047,7 +1047,7 @@ jobs: ../bins/cargo-semver-checks semver-checks check-release --manifest-path ../subject/sqllogictest/Cargo.toml --verbose - name: Save rustdoc - uses: actions/cache/save@v3 + uses: actions/cache/save@v4 if: steps.cache.outputs.cache-hit != 'true' with: key: ${{ runner.os }}-${{ steps.toolchain.outputs.cachekey }}-${{ hashFiles('semver/**/Cargo.lock') }}-${{ github.job }}-rustdoc @@ -1094,7 +1094,7 @@ jobs: - name: Restore binary id: cache-binary - uses: actions/cache/restore@v3 + uses: actions/cache/restore@v4 with: path: bins/ key: bins-${{ runner.os }}-${{ github.run_id }}-${{ github.run_attempt }} @@ -1102,7 +1102,7 @@ jobs: - name: Restore rustdoc id: cache - uses: actions/cache/restore@v3 + uses: actions/cache/restore@v4 with: key: ${{ runner.os }}-${{ steps.toolchain.outputs.cachekey }}-${{ hashFiles('semver/**/Cargo.lock') }}-${{ github.job }}-rustdoc path: subject/target/semver-checks/cache @@ -1125,7 +1125,7 @@ jobs: ../bins/cargo-semver-checks semver-checks check-release --manifest-path="../subject/Cargo.toml" --release-type minor --exclude examples --exclude stress-test --exclude tests-build --exclude tests-integration --verbose - name: Save rustdoc - uses: actions/cache/save@v3 + uses: actions/cache/save@v4 if: steps.cache.outputs.cache-hit != 'true' with: key: ${{ runner.os }}-${{ steps.toolchain.outputs.cachekey }}-${{ hashFiles('semver/**/Cargo.lock') }}-${{ github.job }}-rustdoc @@ -1172,7 +1172,7 @@ jobs: - name: Restore binary id: cache-binary - uses: actions/cache/restore@v3 + uses: actions/cache/restore@v4 with: path: bins/ key: bins-${{ runner.os }}-${{ github.run_id }}-${{ github.run_attempt }} @@ -1180,7 +1180,7 @@ jobs: - name: Restore rustdoc id: cache - uses: actions/cache/restore@v3 + uses: actions/cache/restore@v4 with: key: ${{ runner.os }}-${{ steps.toolchain.outputs.cachekey }}-${{ hashFiles('semver/**/Cargo.lock') }}-${{ github.job }}-rustdoc path: subject/target/semver-checks/cache @@ -1193,7 +1193,7 @@ jobs: ../bins/cargo-semver-checks semver-checks check-release --manifest-path="../subject/Cargo.toml" --release-type minor --verbose - name: Save rustdoc - uses: actions/cache/save@v3 + uses: actions/cache/save@v4 if: steps.cache.outputs.cache-hit != 'true' with: key: ${{ runner.os }}-${{ steps.toolchain.outputs.cachekey }}-${{ hashFiles('semver/**/Cargo.lock') }}-${{ github.job }}-rustdoc @@ -1239,7 +1239,7 @@ jobs: - name: Restore binary id: cache-binary - uses: actions/cache/restore@v3 + uses: actions/cache/restore@v4 with: path: bins/ key: bins-${{ runner.os }}-${{ github.run_id }}-${{ github.run_attempt }} @@ -1247,7 +1247,7 @@ jobs: - name: Restore rustdoc id: cache - uses: actions/cache/restore@v3 + uses: actions/cache/restore@v4 with: key: ${{ runner.os }}-${{ steps.toolchain.outputs.cachekey }}-${{ hashFiles('semver/**/Cargo.lock') }}-${{ github.job }}-rustdoc path: subject-current/target/semver-checks/cache @@ -1313,7 +1313,7 @@ jobs: diff <(echo "$RESULT") <(echo "$EXPECTED") - name: Save rustdoc - uses: actions/cache/save@v3 + uses: actions/cache/save@v4 if: steps.cache.outputs.cache-hit != 'true' with: key: ${{ runner.os }}-${{ steps.toolchain.outputs.cachekey }}-${{ hashFiles('semver/**/Cargo.lock') }}-${{ github.job }}-rustdoc @@ -1362,7 +1362,7 @@ jobs: - name: Restore binary id: cache-binary - uses: actions/cache/restore@v3 + uses: actions/cache/restore@v4 with: path: bins/ key: bins-${{ runner.os }}-${{ github.run_id }}-${{ github.run_attempt }} @@ -1370,7 +1370,7 @@ jobs: - name: Restore rustdoc id: cache - uses: actions/cache/restore@v3 + uses: actions/cache/restore@v4 with: key: ${{ runner.os }}-${{ steps.toolchain.outputs.cachekey }}-${{ hashFiles('semver/**/Cargo.lock') }}-${{ github.job }}-rustdoc path: subject/target/semver-checks/cache @@ -1420,7 +1420,7 @@ jobs: rm -f unexpectedly_did_not_fail - name: Save rustdoc - uses: actions/cache/save@v3 + uses: actions/cache/save@v4 if: steps.cache.outputs.cache-hit != 'true' with: key: ${{ runner.os }}-${{ steps.toolchain.outputs.cachekey }}-${{ hashFiles('semver/**/Cargo.lock') }}-${{ github.job }}-rustdoc @@ -1462,7 +1462,7 @@ jobs: - name: Restore binary id: cache-binary - uses: actions/cache/restore@v3 + uses: actions/cache/restore@v4 with: path: bins\ key: bins-${{ runner.os }}-${{ github.run_id }}-${{ github.run_attempt }} @@ -1470,7 +1470,7 @@ jobs: - name: Restore rustdoc id: cache - uses: actions/cache/restore@v3 + uses: actions/cache/restore@v4 with: key: ${{ runner.os }}-${{ steps.toolchain.outputs.cachekey }}-${{ hashFiles('semver\**\Cargo.lock') }}-${{ github.job }}-rustdoc path: subject\target\semver-checks\cache @@ -1521,7 +1521,7 @@ jobs: rm output - name: Save rustdoc - uses: actions/cache/save@v3 + uses: actions/cache/save@v4 if: steps.cache.outputs.cache-hit != 'true' with: key: ${{ runner.os }}-${{ steps.toolchain.outputs.cachekey }}-${{ hashFiles('semver\**\Cargo.lock') }}-${{ github.job }}-rustdoc @@ -1565,7 +1565,7 @@ jobs: - name: Restore binary id: cache-binary - uses: actions/cache/restore@v3 + uses: actions/cache/restore@v4 with: path: bins/ key: bins-${{ runner.os }}-${{ github.run_id }}-${{ github.run_attempt }} @@ -1573,7 +1573,7 @@ jobs: - name: Restore rustdoc id: cache - uses: actions/cache/restore@v3 + uses: actions/cache/restore@v4 with: key: ${{ runner.os }}-${{ steps.toolchain.outputs.cachekey }}-${{ hashFiles('semver/**/Cargo.lock') }}-${{ github.job }}-rustdoc path: subject/target/semver-checks/cache @@ -1590,7 +1590,7 @@ jobs: ../bins/cargo-semver-checks semver-checks check-release --manifest-path="../subject/Cargo.toml" -p libp2p --verbose - name: Save rustdoc - uses: actions/cache/save@v3 + uses: actions/cache/save@v4 if: steps.cache.outputs.cache-hit != 'true' with: key: ${{ runner.os }}-${{ steps.toolchain.outputs.cachekey }}-${{ hashFiles('semver/**/Cargo.lock') }}-${{ github.job }}-rustdoc @@ -1629,7 +1629,7 @@ jobs: - name: Restore binary id: cache-binary - uses: actions/cache/restore@v3 + uses: actions/cache/restore@v4 with: path: bins/ key: bins-${{ runner.os }}-${{ github.run_id }}-${{ github.run_attempt }} @@ -1637,7 +1637,7 @@ jobs: - name: Restore rustdoc id: cache - uses: actions/cache/restore@v3 + uses: actions/cache/restore@v4 with: key: ${{ runner.os }}-${{ steps.toolchain.outputs.cachekey }}-${{ hashFiles('semver/**/Cargo.lock') }}-${{ github.job }}-rustdoc path: subject/target/semver-checks/cache @@ -1654,7 +1654,7 @@ jobs: ../bins/cargo-semver-checks semver-checks check-release --manifest-path="../subject/perf-event-open-sys/Cargo.toml" --baseline-version 5.0.0 --verbose - name: Save rustdoc - uses: actions/cache/save@v3 + uses: actions/cache/save@v4 if: steps.cache.outputs.cache-hit != 'true' with: key: ${{ runner.os }}-${{ steps.toolchain.outputs.cachekey }}-${{ hashFiles('semver/**/Cargo.lock') }}-${{ github.job }}-rustdoc @@ -1695,7 +1695,7 @@ jobs: - name: Restore binary id: cache-binary - uses: actions/cache/restore@v3 + uses: actions/cache/restore@v4 with: path: bins/ key: bins-${{ runner.os }}-${{ github.run_id }}-${{ github.run_attempt }} @@ -1703,7 +1703,7 @@ jobs: - name: Restore rustdoc id: cache - uses: actions/cache/restore@v3 + uses: actions/cache/restore@v4 with: key: ${{ runner.os }}-${{ steps.toolchain.outputs.cachekey }}-${{ hashFiles('semver/**/Cargo.lock') }}-${{ github.job }}-rustdoc path: subject/target/semver-checks/cache @@ -1743,7 +1743,7 @@ jobs: rm -f unexpectedly_did_not_fail - name: Save rustdoc - uses: actions/cache/save@v3 + uses: actions/cache/save@v4 if: steps.cache.outputs.cache-hit != 'true' with: key: ${{ runner.os }}-${{ steps.toolchain.outputs.cachekey }}-${{ hashFiles('semver/**/Cargo.lock') }}-${{ github.job }}-rustdoc