Skip to content

Commit

Permalink
fix: attempt fixing geth install [APE-1333] (#1634)
Browse files Browse the repository at this point in the history
  • Loading branch information
antazoey authored Aug 28, 2023
1 parent bd6cf06 commit 66703f0
Showing 1 changed file with 3 additions and 17 deletions.
20 changes: 3 additions & 17 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ jobs:

env:
GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GETH_VERSION: 1.12.0

steps:
- uses: actions/checkout@v3
Expand All @@ -84,23 +83,10 @@ jobs:
with:
go-version: '^1.20.1'

- name: Cache Geth
id: cache-geth
uses: actions/cache@v3
with:
path: $HOME/.local/bin
key: ${{ runner.os }}-geth-${{ env.GETH_VERSION }}

- name: Install Geth
if: steps.cache-geth.outputs.cache-hit != 'true'
run: |
mkdir -p $HOME/.local/bin
wget -O geth.tar.gz "https://github.com/ethereum/go-ethereum/archive/v$GETH_VERSION.tar.gz"
tar -zxvf geth.tar.gz
cd go-ethereum-$GETH_VERSION
make geth
cp ./build/bin/geth /usr/local/bin
geth version
uses: gacts/install-geth-tools@v1
with:
version: 1.12.2

- name: Install Dependencies
run: |
Expand Down

0 comments on commit 66703f0

Please sign in to comment.