Skip to content

Commit cb03901

Browse files
committed
tweak the files for pull requests to activate the workflows and fix the 'shared-key'
1 parent e42378c commit cb03901

File tree

3 files changed

+11
-8
lines changed

3 files changed

+11
-8
lines changed

.github/workflows/cypher-backend.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
- name: Rust Cache
3535
uses: Swatinem/rust-cache@v2
3636
with:
37-
working-directory: cypher/backend
37+
shared-key: cypher-backend
3838
- name: Run cargo check
3939
working-directory: cypher/backend
4040
run: cargo check
@@ -47,7 +47,7 @@ jobs:
4747
- name: Rust Cache
4848
uses: Swatinem/rust-cache@v2
4949
with:
50-
working-directory: cypher/backend
50+
shared-key: cypher-backend
5151
- name: Run cargo build
5252
working-directory: cypher/backend
5353
run: cargo build --release
@@ -61,7 +61,7 @@ jobs:
6161
- name: Rust Cache
6262
uses: Swatinem/rust-cache@v2
6363
with:
64-
working-directory: cypher/backend
64+
shared-key: cypher-backend
6565
- name: Run cargo test
6666
working-directory: cypher/backend
6767
run: cargo test
@@ -75,7 +75,7 @@ jobs:
7575
- name: Rust Cache
7676
uses: Swatinem/rust-cache@v2
7777
with:
78-
working-directory: cypher/backend
78+
shared-key: cypher-backend
7979
- name: Run cargo fmt
8080
working-directory: cypher/backend
8181
run: cargo fmt -- --check

.github/workflows/cypher-frontend.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
- name: Rust Cache
3535
uses: Swatinem/rust-cache@v2
3636
with:
37-
working-directory: cypher/frontend
37+
shared-key: cypher-frontend
3838
- name: Run cargo check
3939
working-directory: cypher/frontend
4040
run: cargo check
@@ -47,7 +47,7 @@ jobs:
4747
- name: Rust Cache
4848
uses: Swatinem/rust-cache@v2
4949
with:
50-
working-directory: cypher/frontend
50+
shared-key: cypher-frontend
5151
- name: Run cargo build
5252
working-directory: cypher/frontend
5353
run: cargo build --release
@@ -61,7 +61,7 @@ jobs:
6161
- name: Rust Cache
6262
uses: Swatinem/rust-cache@v2
6363
with:
64-
working-directory: cypher/frontend
64+
shared-key: cypher-frontend
6565
- name: Run cargo test
6666
working-directory: cypher/frontend
6767
run: cargo test
@@ -75,7 +75,7 @@ jobs:
7575
- name: Rust Cache
7676
uses: Swatinem/rust-cache@v2
7777
with:
78-
working-directory: cypher/frontend
78+
shared-key: cypher-frontend
7979
- name: Run cargo fmt
8080
working-directory: cypher/frontend
8181
run: cargo fmt -- --check

.github/workflows/rust.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ on:
44
push:
55
branches: [main]
66
pull_request:
7+
paths:
8+
- '.github/scripts/determine-packages.sh'
9+
- '.github/workflows/rust.yml'
710

811
env:
912
PDS_EMAIL_FROM_ADDRESS: "noreply@blacksky.app"

0 commit comments

Comments
 (0)