Skip to content

Commit

Permalink
Specify sccache idle timeout to fix build issues / Update rpc_url (
Browse files Browse the repository at this point in the history
…risc0#1523)

- [x] Set `SCCACHE_IDLE_TIMEOUT` to 0 minutes to disable it so sccache
runs permanently.
- [x] Updating `rpc_url` since limit for other URL exceeded

---------

Co-authored-by: Erik Kaneda <[email protected]>
Co-authored-by: BatAdmin <[email protected]>
  • Loading branch information
3 people authored Mar 7, 2024
1 parent 2749aac commit 1a373c7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .github/actions/sccache/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@ inputs:
runs:
using: composite
steps:
- name: Disable idle timeout to run sccache permanently
run: |
echo "SCCACHE_IDLE_TIMEOUT=0" >> $GITHUB_ENV
shell: bash

- if: runner.os == 'Linux' && runner.arch == 'X64'
run: |
echo "SCCACHE_ARCH=x86_64-unknown-linux-musl" >> $GITHUB_ENV
Expand Down
2 changes: 1 addition & 1 deletion examples/zkevm-demo/core/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ mod tests {

#[tokio::test]
async fn trace_tx() {
let rpc_url = "https://cloudflare-eth.com";
let rpc_url = "https://eth.llamarpc.com";

let tx_hash =
H256::from_str("0x671a3b40ecb7d51b209e68392df2d38c098aae03febd3a88be0f1fa77725bbd7")
Expand Down

0 comments on commit 1a373c7

Please sign in to comment.