foundry-rs / foundry-toolchain

GitHub action to install Foundry
Apache License 2.0
225 stars 92 forks source link

Disable Cache #22

Closed sambacha closed 1 year ago

sambacha commented 1 year ago

we use our own cache solution we dont want to use this one, pls add opt-in

gakonst commented 1 year ago

Could you link to your own cache solution? How would you make it opt-in, Forge already caches by default.

sambacha commented 1 year ago

Its closed source though I can see about opening it up. The cache proxy we are using is a cloudflare worker that does rewriting for requests and responses based on what exactly we are testing. It could live within a github action though the network overhead is the same as cache persistence is hosted on azure (i think?).

In the mean time you can additionally checkout Apache Tuweni, it has built in JSON RPC cache service that is configured by TOML

https://tuweni.apache.org/tutorials/apps/jsonrpc/

https://github.com/apache/incubator-tuweni/blob/main/jsonrpc-app/src/main/kotlin/org/apache/tuweni/jsonrpc/app/JSONRPCApp.kt

PaulRBerg commented 1 year ago

@sambacha you can now disable the cache like this:

- name: Install Foundry
  uses: foundry-rs/foundry-toolchain@v1
  with:
    cache: false
sambacha commented 1 year ago

@sambacha you can now disable the cache like this:


- name: Install Foundry

  uses: foundry-rs/foundry-toolchain@v1

  with:

    cache: false

:)))))