Skip to content

Commit 9326ab8

Browse files
committed
ci: maximize build space right after checkout
1 parent 9e72329 commit 9326ab8

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

.github/workflows/test.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,18 +15,18 @@ jobs:
1515
runs-on: ubuntu-latest
1616
steps:
1717
- uses: actions/checkout@v4
18-
- uses: Swatinem/rust-cache@v2
19-
- uses: cachix/install-nix-action@v30
20-
- uses: cachix/cachix-action@v15
21-
with:
22-
name: holochain-ci
2318
- name: Maximize build space
2419
uses: AdityaGarg8/remove-unwanted-software@v5
2520
with:
2621
remove-dotnet: 'true'
2722
remove-android: 'true'
2823
remove-codeql: 'true'
2924
remove-docker-images: 'true'
25+
- uses: Swatinem/rust-cache@v2
26+
- uses: cachix/install-nix-action@v30
27+
- uses: cachix/cachix-action@v15
28+
with:
29+
name: holochain-ci
3030
- name: Check formatting
3131
run: cargo fmt --all -- --check
3232
- name: Run clippy

src/error.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ pub enum HcHttpGatewayError {
1515
#[error("Request is malformed: {0}")]
1616
RequestMalformed(String),
1717
/// Calling an unauthorized function
18-
#[error("Function {fn_name} in zome {zome_name} in app {app_id} is not authorized")]
18+
#[error("Function {fn_name} in zome {zome_name} in app {app_id} is not allowed")]
1919
UnauthorizedFunction {
2020
/// App id
2121
app_id: String,

src/routes/zome_call/tests/validations.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ async fn unauthorized_function_name_is_rejected() {
9999
assert_eq!(
100100
body,
101101
format!(
102-
r#"{{"error":"Function {fn_name} in zome zome_name in app coordinator is not authorized"}}"#
102+
r#"{{"error":"Function {fn_name} in zome zome_name in app coordinator is not allowed"}}"#
103103
)
104104
);
105105
}

0 commit comments

Comments
 (0)