Update geth and check for duplicate jobs in CI

This commit is contained in:
Abdul Rabbani
2022-06-17 08:56:25 -04:00
parent f964b53fe3
commit 2c4fd6f099
3 changed files with 31 additions and 79 deletions
+18
View File
@@ -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
@@ -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: