Skip to content

Commit

Permalink
Merge pull request #94 from vulcanize/feature/update-geth-v1.10.19
Browse files Browse the repository at this point in the history
Update geth and check for duplicate jobs in CI
  • Loading branch information
abdulrabbani00 authored Jun 17, 2022
2 parents f964b53 + 2c4fd6f commit 5ea4b67
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 79 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,24 @@ env:
GOPATH: /tmp/go

jobs:
pre_job:
# continue-on-error: true # Uncomment once integration is finished
runs-on: ubuntu-latest
# Map a step output to a job output
outputs:
should_skip: ${{ steps.skip_check.outputs.should_skip }}
steps:
- id: skip_check
uses: fkirc/skip-duplicate-actions@v4
with:
# All of these options are optional, so you can remove them if you are happy with the defaults
concurrent_skipping: "never"
skip_after_successful_duplicate: "true"
do_not_skip: '["workflow_dispatch", "schedule"]'
build:
name: Run docker build
needs: pre_job
if: ${{ needs.pre_job.outputs.should_skip != 'true' }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand All @@ -18,6 +34,8 @@ jobs:
statediff-unit-test:
name: Run statediff unit tests
runs-on: ubuntu-latest
needs: pre_job
if: ${{ needs.pre_job.outputs.should_skip != 'true' }}
env:
GO111MODULE: on
steps:
Expand Down
8 changes: 4 additions & 4 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@ module github.com/vulcanize/eth-statediff-service
go 1.18

require (
github.com/ethereum/go-ethereum v1.10.18
github.com/ethereum/go-ethereum v1.10.19
github.com/jmoiron/sqlx v1.2.0
github.com/prometheus/client_golang v1.4.0
github.com/sirupsen/logrus v1.7.0
github.com/spf13/cobra v1.3.0
github.com/spf13/viper v1.10.1
github.com/vulcanize/go-eth-state-node-iterator v1.1.0
github.com/vulcanize/leveldb-ethdb-rpc v0.1.2
github.com/vulcanize/go-eth-state-node-iterator v1.1.1
github.com/vulcanize/leveldb-ethdb-rpc v0.1.3
)

require (
Expand Down Expand Up @@ -128,4 +128,4 @@ require (
gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b // indirect
)

replace github.com/ethereum/go-ethereum v1.10.18 => github.com/vulcanize/go-ethereum v1.10.18-statediff-4.0.2-alpha
replace github.com/ethereum/go-ethereum v1.10.19 => github.com/vulcanize/go-ethereum v1.10.19-statediff-4.0.2-alpha
Loading

0 comments on commit 5ea4b67

Please sign in to comment.