Skip to content

Commit

Permalink
Change out richb-hanover/cargo for clechasseur/rs-cargo@v2 to get Nod…
Browse files Browse the repository at this point in the history
…e 20 tests
  • Loading branch information
richb-hanover committed Jun 9, 2024
1 parent 6e5db30 commit 2bc6e37
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .github/actions/build-prqlc-c/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ runs:
echo 'CC=aarch64-linux-gnu-gcc' >>"$GITHUB_ENV"
- name: cargo build
uses: richb-hanover/cargo@v1.1.0
uses: clechasseur/rs-cargo@v2
with:
command: build
args:
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/build-prqlc/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ runs:
echo 'CC=aarch64-linux-gnu-gcc' >>"$GITHUB_ENV"
- name: cargo build
uses: richb-hanover/cargo@v1.1.0
uses: clechasseur/rs-cargo@v2
with:
command: build
# We previously had `--package=prqlc` for all, but this caches much
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/time-compilation/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ runs:
shell: bash
run: rm -rf target/cargo-timings
- name: 🏭 Compile
uses: richb-hanover/cargo@v1.1.0
uses: clechasseur/rs-cargo@v2
with:
command: build
args: --timings --all-targets
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/nightly.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: richb-hanover/cargo@1.1.1
- uses: clechasseur/rs-cargo@v2
with:
command: bench
args: --timings --all-targets
Expand Down Expand Up @@ -100,11 +100,11 @@ jobs:
crate: cargo-udeps
# Once with all targets, once without, to find anything that should be in
# `dev` but is more general.
- uses: richb-hanover/cargo@1.1.1
- uses: clechasseur/rs-cargo@v2
with:
command: udeps
args: --all-targets
- uses: richb-hanover/cargo@1.1.1
- uses: clechasseur/rs-cargo@v2
with:
command: udeps

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-prqlc-c.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
save-if: ${{ github.ref == 'refs/heads/main' }}
shared-key: lib
- name: Build
uses: richb-hanover/cargo@1.1.1
uses: clechasseur/rs-cargo@v2
with:
command: build
# Currently requires a release build; would be useful to allow a debug build.
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/test-rust.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ jobs:
# We split up the test compilation as recommended in
# https://matklad.github.io/2021/09/04/fast-rust-builds.html
- name: 🏭 Compile
uses: richb-hanover/cargo@1.1.1
uses: clechasseur/rs-cargo@v2
with:
command: test
args: >
Expand All @@ -99,7 +99,7 @@ jobs:
timeout: 60000
if: ${{ contains(inputs.features, 'test-dbs-external') }}
- name: 📋 Test
uses: richb-hanover/cargo@1.1.1
uses: clechasseur/rs-cargo@v2
with:
command: insta
# Here, we also add:
Expand All @@ -111,7 +111,7 @@ jobs:
'test-dbs') && inputs.target == 'x86_64-unknown-linux-gnu' &&
'--unreferenced=auto' || '' }}
- name: 📎 Clippy
uses: richb-hanover/cargo@1.1.1
uses: clechasseur/rs-cargo@v2
with:
command: clippy
# Note that `--all-targets` doesn't refer to targets like
Expand All @@ -121,7 +121,7 @@ jobs:
--all-targets --target=${{ inputs.target }} --no-default-features
--features=${{ inputs.features }} -- -D warnings
- name: ⌨️ Fmt
uses: richb-hanover/cargo@1.1.1
uses: clechasseur/rs-cargo@v2
with:
command: fmt
args: --all --check
Expand All @@ -130,7 +130,7 @@ jobs:
# https://github.com/duckdb/duckdb-rs/issues/179#issuecomment-1710986020.
if:
inputs.nightly == 'true' && inputs.target != 'wasm32-unknown-unknown'
uses: richb-hanover/cargo@1.1.1
uses: clechasseur/rs-cargo@v2
with:
command: doc
# Only run with deps on nightly, since it's much slower, and so far™
Expand All @@ -145,7 +145,7 @@ jobs:
if:
${{ github.ref == 'refs/heads/main' && steps.cache.outputs.cache-hit
== 'false' }}
uses: richb-hanover/cargo@1.1.1
uses: clechasseur/rs-cargo@v2
with:
command: build
args:
Expand Down

0 comments on commit 2bc6e37

Please sign in to comment.