From 1bd1b2e5bc680b819249a9f00f8393be9afc4ccc Mon Sep 17 00:00:00 2001 From: Guillaume Lagrange Date: Tue, 4 Nov 2025 14:08:44 +0100 Subject: [PATCH 1/2] ci: fix check dependency job name --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 48fbd4a8..6df75834 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -215,7 +215,7 @@ jobs: if: always() needs: - lint - - os-test-codspeed + - test-codspeed - tests-without-cargo-codspeed - test-cargo-codspeed - msrv-check From 7e314dd41240f3da05b58189617de0255ba86b4f Mon Sep 17 00:00:00 2001 From: Guillaume Lagrange Date: Tue, 4 Nov 2025 14:43:58 +0100 Subject: [PATCH 2/2] chore: test out setup-rust fork --- .github/workflows/ci.yml | 21 +++++++++++++-------- .github/workflows/release.yml | 5 +++-- 2 files changed, 16 insertions(+), 10 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6df75834..51620224 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,7 +12,7 @@ jobs: - uses: actions/checkout@v4 with: submodules: true - - uses: moonrepo/setup-rust@v1 + - uses: GuillaumeLagrange/setup-rust@feat/cache-extra-identifier with: components: rustfmt, clippy env: @@ -56,9 +56,10 @@ jobs: with: submodules: true - - uses: moonrepo/setup-rust@v1 + - uses: GuillaumeLagrange/setup-rust@feat/cache-extra-identifier with: targets: ${{ matrix.job.target }} + cache-extra-identifier: ${{ matrix.job.os }}-${{ matrix.job.target }} env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} @@ -75,7 +76,7 @@ jobs: - uses: actions/checkout@v4 with: submodules: true - - uses: moonrepo/setup-rust@v1 + - uses: GuillaumeLagrange/setup-rust@feat/cache-extra-identifier with: bins: cargo-msrv env: @@ -95,7 +96,7 @@ jobs: - uses: actions/checkout@v4 with: submodules: true - - uses: moonrepo/setup-rust@v1 + - uses: GuillaumeLagrange/setup-rust@feat/cache-extra-identifier with: bins: cargo-nextest env: @@ -111,9 +112,10 @@ jobs: - uses: actions/checkout@v4 with: submodules: true - - uses: moonrepo/setup-rust@v1 + - uses: GuillaumeLagrange/setup-rust@feat/cache-extra-identifier with: bins: cargo-nextest + cache-extra-identifier: partition-${{ matrix.partition }} env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: cargo nextest run -p cargo-codspeed --partition hash:${{ matrix.partition }}/5 @@ -132,9 +134,10 @@ jobs: - uses: actions/checkout@v4 with: submodules: true - - uses: moonrepo/setup-rust@v1 + - uses: GuillaumeLagrange/setup-rust@feat/cache-extra-identifier with: cache-target: release + cache-extra-identifier: ${{ matrix.build-args }} env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} @@ -163,9 +166,10 @@ jobs: - uses: actions/checkout@v4 with: submodules: true - - uses: moonrepo/setup-rust@v1 + - uses: GuillaumeLagrange/setup-rust@feat/cache-extra-identifier with: cache-target: release + cache-extra-identifier: walltime-${{ matrix.package }} env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} @@ -199,9 +203,10 @@ jobs: - uses: actions/checkout@v4 with: submodules: true - - uses: moonrepo/setup-rust@v1 + - uses: GuillaumeLagrange/setup-rust@feat/cache-extra-identifier with: targets: ${{ matrix.target }} + cache-extra-identifier: ${{ matrix.runner }}-${{ matrix.target }} env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2bd00512..90007b23 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -25,9 +25,10 @@ jobs: with: submodules: true fetch-depth: 0 - - uses: moonrepo/setup-rust@v1 + - uses: GuillaumeLagrange/setup-rust@feat/cache-extra-identifier with: targets: ${{ matrix.target }} + cache-extra-identifier: ${{ matrix.runner }}-${{ matrix.target }} - name: Install musl tools run: sudo apt-get update && sudo apt-get install -y musl-tools @@ -49,7 +50,7 @@ jobs: with: submodules: true fetch-depth: 0 - - uses: moonrepo/setup-rust@v0 + - uses: GuillaumeLagrange/setup-rust@feat/cache-extra-identifier with: cache-target: release bins: cargo-workspaces