diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 109a06b..d00da97 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -18,7 +18,7 @@ jobs: runs-on: ubuntu-latest needs: [test] env: - SCCACHE_GHA_ENABLED: "true" + SCCACHE_REDIS: "redis://redis.redis.svc.cluster.local:6379" RUSTC_WRAPPER: "sccache" steps: - uses: actions/checkout@v3 @@ -26,6 +26,7 @@ jobs: fetch-depth: 0 - run: | + curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh rustup set auto-self-update disable rustup toolchain install stable --profile minimal diff --git a/.github/workflows/pr_check.yml b/.github/workflows/pr_check.yml index 639936a..10391e8 100644 --- a/.github/workflows/pr_check.yml +++ b/.github/workflows/pr_check.yml @@ -10,7 +10,7 @@ env: jobs: check: name: Check ENState ⚒️ - runs-on: ubuntu-latest + runs-on: arc-runner-set strategy: matrix: path: [server, worker] @@ -20,7 +20,7 @@ jobs: - path: worker target: wasm32-unknown-unknown env: - SCCACHE_GHA_ENABLED: "true" + SCCACHE_REDIS: "redis://redis.redis.svc.cluster.local:6379" RUSTC_WRAPPER: "sccache" steps: - uses: actions/checkout@v3 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index de9e6e7..c826862 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -4,9 +4,9 @@ on: jobs: test: name: Test ENState 🚀 - runs-on: ubuntu-latest + runs-on: arc-runner-set env: - SCCACHE_GHA_ENABLED: "true" + SCCACHE_REDIS: "redis://redis.redis.svc.cluster.local:6379" RUSTC_WRAPPER: "sccache" strategy: matrix: @@ -24,6 +24,7 @@ jobs: fetch-depth: 0 - run: | + rustup set auto-self-update disable rustup set auto-self-update disable rustup toolchain install stable --profile minimal diff --git a/README.md b/README.md index 87b8a45..f3c7cb3 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ docker run \ -p 3000:3000 \ -e REDIS_URL=redis://0.0.0.0:6379 \ -e RPC_URL=https://rpc.ankr.com/eth \ - ghcr.io/v3xlabs/enstate:0.0.1 + ghcr.io/v3xlabs/enstate:1.0.5 ``` ### 🐳 Docker Compose @@ -33,7 +33,7 @@ docker run \ version: "3.8" services: enstate: - image: ghcr.io/v3xlabs/enstate:0.0.1 + image: ghcr.io/v3xlabs/enstate:1.0.5 ports: - 3000:3000 environment: