diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 9d22e0c00a..947c38bd0b 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -67,7 +67,6 @@ jobs: env: GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }} - GETH_VERSION: 1.12.0 steps: - uses: actions/checkout@v3 @@ -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: |