Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 14 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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 }}

Expand All @@ -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:
Expand All @@ -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:
Expand All @@ -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
Expand All @@ -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 }}

Expand Down Expand Up @@ -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 }}

Expand Down Expand Up @@ -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 }}

Expand All @@ -215,7 +220,7 @@ jobs:
if: always()
needs:
- lint
- os-test-codspeed
- test-codspeed
- tests-without-cargo-codspeed
- test-cargo-codspeed
- msrv-check
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
Loading