Skip to content

Commit

Permalink
Modify actions to use a self-hosted runner (#47)
Browse files Browse the repository at this point in the history
Co-authored-by: Luc <[email protected]>
  • Loading branch information
Antony1060 and lucemans authored Jan 16, 2024
1 parent 51b4f82 commit 86b463b
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 7 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,15 @@ 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
with:
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
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pr_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ env:
jobs:
check:
name: Check ENState ⚒️
runs-on: ubuntu-latest
runs-on: arc-runner-set
strategy:
matrix:
path: [server, worker]
Expand All @@ -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
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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:
Expand Down

0 comments on commit 86b463b

Please sign in to comment.