Skip to content

Commit 57ddac2

Browse files
committed
fix: CI
1 parent 30e86a7 commit 57ddac2

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

.github/workflows/rust-checks.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,17 +16,20 @@ concurrency:
1616
jobs:
1717
main:
1818
name: Run check, test and lints
19-
runs-on: drink-runner
19+
runs-on: ubuntu-latest
2020
env:
2121
CARGO_INCREMENTAL: 0
2222
steps:
2323
- name: Checkout source code
2424
uses: actions/checkout@v3
2525

2626
- name: Install Rust toolchain
27-
uses: use-ink/github-actions/install-rust-toolchain@v1
27+
uses: actions-rs/toolchain@v1
2828
with:
29-
components: clippy rustfmt
29+
toolchain: 1.86
30+
profile: minimal
31+
default: true
32+
components: clippy, rustfmt
3033

3134
- name: Add rust-src
3235
shell: bash
@@ -51,4 +54,5 @@ jobs:
5154

5255
- name: Run tests for examples
5356
shell: bash
54-
run: make test_examples
57+
run: |
58+
for dir in examples/*; do (echo "Running example: $dir" && cargo test --manifest-path $dir/Cargo.toml); done

0 commit comments

Comments
 (0)