Skip to content

Commit 2bc6e37

Browse files
committed
Change out richb-hanover/cargo for clechasseur/rs-cargo@v2 to get Node 20 tests
1 parent 6e5db30 commit 2bc6e37

File tree

6 files changed

+13
-13
lines changed

6 files changed

+13
-13
lines changed

.github/actions/build-prqlc-c/action.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ runs:
5757
echo 'CC=aarch64-linux-gnu-gcc' >>"$GITHUB_ENV"
5858
5959
- name: cargo build
60-
uses: richb-hanover/cargo@v1.1.0
60+
uses: clechasseur/rs-cargo@v2
6161
with:
6262
command: build
6363
args:

.github/actions/build-prqlc/action.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ runs:
5656
echo 'CC=aarch64-linux-gnu-gcc' >>"$GITHUB_ENV"
5757
5858
- name: cargo build
59-
uses: richb-hanover/cargo@v1.1.0
59+
uses: clechasseur/rs-cargo@v2
6060
with:
6161
command: build
6262
# We previously had `--package=prqlc` for all, but this caches much

.github/actions/time-compilation/action.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ runs:
2525
shell: bash
2626
run: rm -rf target/cargo-timings
2727
- name: 🏭 Compile
28-
uses: richb-hanover/cargo@v1.1.0
28+
uses: clechasseur/rs-cargo@v2
2929
with:
3030
command: build
3131
args: --timings --all-targets

.github/workflows/nightly.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
runs-on: ubuntu-latest
4646
steps:
4747
- uses: actions/checkout@v4
48-
- uses: richb-hanover/cargo@1.1.1
48+
- uses: clechasseur/rs-cargo@v2
4949
with:
5050
command: bench
5151
args: --timings --all-targets
@@ -100,11 +100,11 @@ jobs:
100100
crate: cargo-udeps
101101
# Once with all targets, once without, to find anything that should be in
102102
# `dev` but is more general.
103-
- uses: richb-hanover/cargo@1.1.1
103+
- uses: clechasseur/rs-cargo@v2
104104
with:
105105
command: udeps
106106
args: --all-targets
107-
- uses: richb-hanover/cargo@1.1.1
107+
- uses: clechasseur/rs-cargo@v2
108108
with:
109109
command: udeps
110110

.github/workflows/test-prqlc-c.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
save-if: ${{ github.ref == 'refs/heads/main' }}
1919
shared-key: lib
2020
- name: Build
21-
uses: richb-hanover/cargo@1.1.1
21+
uses: clechasseur/rs-cargo@v2
2222
with:
2323
command: build
2424
# Currently requires a release build; would be useful to allow a debug build.

.github/workflows/test-rust.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ jobs:
8686
# We split up the test compilation as recommended in
8787
# https://matklad.github.io/2021/09/04/fast-rust-builds.html
8888
- name: 🏭 Compile
89-
uses: richb-hanover/cargo@1.1.1
89+
uses: clechasseur/rs-cargo@v2
9090
with:
9191
command: test
9292
args: >
@@ -99,7 +99,7 @@ jobs:
9999
timeout: 60000
100100
if: ${{ contains(inputs.features, 'test-dbs-external') }}
101101
- name: 📋 Test
102-
uses: richb-hanover/cargo@1.1.1
102+
uses: clechasseur/rs-cargo@v2
103103
with:
104104
command: insta
105105
# Here, we also add:
@@ -111,7 +111,7 @@ jobs:
111111
'test-dbs') && inputs.target == 'x86_64-unknown-linux-gnu' &&
112112
'--unreferenced=auto' || '' }}
113113
- name: 📎 Clippy
114-
uses: richb-hanover/cargo@1.1.1
114+
uses: clechasseur/rs-cargo@v2
115115
with:
116116
command: clippy
117117
# Note that `--all-targets` doesn't refer to targets like
@@ -121,7 +121,7 @@ jobs:
121121
--all-targets --target=${{ inputs.target }} --no-default-features
122122
--features=${{ inputs.features }} -- -D warnings
123123
- name: ⌨️ Fmt
124-
uses: richb-hanover/cargo@1.1.1
124+
uses: clechasseur/rs-cargo@v2
125125
with:
126126
command: fmt
127127
args: --all --check
@@ -130,7 +130,7 @@ jobs:
130130
# https://github.com/duckdb/duckdb-rs/issues/179#issuecomment-1710986020.
131131
if:
132132
inputs.nightly == 'true' && inputs.target != 'wasm32-unknown-unknown'
133-
uses: richb-hanover/cargo@1.1.1
133+
uses: clechasseur/rs-cargo@v2
134134
with:
135135
command: doc
136136
# Only run with deps on nightly, since it's much slower, and so far™
@@ -145,7 +145,7 @@ jobs:
145145
if:
146146
${{ github.ref == 'refs/heads/main' && steps.cache.outputs.cache-hit
147147
== 'false' }}
148-
uses: richb-hanover/cargo@1.1.1
148+
uses: clechasseur/rs-cargo@v2
149149
with:
150150
command: build
151151
args:

0 commit comments

Comments
 (0)