This repository has been archived by the owner on Jul 5, 2024. It is now read-only.
Feat/#1752 fix witness generation - json exportor #171
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Geth-utils Checks | |
on: | |
merge_group: | |
pull_request: | |
types: [synchronize, opened, reopened, ready_for_review] | |
push: | |
branches: | |
- main | |
jobs: | |
skip_check: | |
runs-on: ubuntu-latest | |
outputs: | |
should_skip: ${{ steps.skip_check.outputs.should_skip }} | |
steps: | |
- id: skip_check | |
uses: fkirc/skip-duplicate-actions@v5 | |
with: | |
cancel_others: 'true' | |
concurrent_skipping: 'same_content_newer' | |
paths: '["geth-utils/**"]' | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: '1.21' | |
- name: Format | |
uses: Jerome1337/[email protected] | |
with: | |
gofmt-path: './geth-utils' | |
gofmt-flags: '-l -d' | |
- name: Build | |
working-directory: ./geth-utils | |
run: go build -v ./... | |
- name: Test | |
working-directory: ./geth-utils | |
env: | |
NO_GETH: true | |
run: go test -v ./... |