Skip to content

Commit b88363f

Browse files
committed
Fix testing workflow
1 parent 8d08fc8 commit b88363f

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

.cargo/config.toml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,2 @@
1-
[registries.wafflehacks]
2-
index = "ssh://[email protected]/wafflehacks/crate-index.git"
3-
4-
[registries.testing]
1+
[registries.REGISTRY]
52
index = "ssh://[email protected]/wafflehacks/crate-index.git"

.github/workflows/test.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ jobs:
1616
name: Rust ${{ matrix.rust }} using ${{ matrix.registry }}
1717
runs-on: ubuntu-latest
1818
strategy:
19+
fail-fast: false
1920
matrix:
2021
rust:
2122
- stable
@@ -26,8 +27,14 @@ jobs:
2627
- testing
2728
steps:
2829
- uses: actions/checkout@v4
29-
- uses: ./
30+
31+
- name: Set registry name
32+
run: sed -i "s/REGISTRY/${{ matrix.registry }}/g" .cargo/config.toml
33+
34+
- name: TheHackerApp/setup-rust@main
35+
uses: ./
3036
with:
37+
registry: ${{ matrix.registry }}
3138
ssh-private-key: ${{ secrets.SHIPYARD_SSH_KEY }}
3239
token: ${{ secrets.SHIPYARD_TOKEN }}
3340
toolchain: ${{ matrix.rust }}

0 commit comments

Comments
 (0)