Skip to content
This repository has been archived by the owner on Jul 5, 2024. It is now read-only.

Commit

Permalink
update CI for MPTWG
Browse files Browse the repository at this point in the history
  • Loading branch information
ChihChengLiang committed Sep 9, 2023
1 parent acc6a4b commit 29765db
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 34 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/lints.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
with:
cancel_others: 'true'
concurrent_skipping: 'same_content_newer'
paths_ignore: '["**/README.md"]'
paths_ignore: '["**/README.md", "mpt-witness-generator/**"]'

lints:
needs: [skip_check]
Expand Down
44 changes: 44 additions & 0 deletions .github/workflows/mpt-witness-generator.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: MPT Witness Generator 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: '["mpt-witness-generator/**"]'


build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.20'

- name: Format
run: go fmt ./...

- name: Build
run: go build -v ./...

- name: Test
env:
NO_GETH: true
run: go test -v ./...
33 changes: 0 additions & 33 deletions mpt-witness-generator/.github/workflows/go.yml

This file was deleted.

0 comments on commit 29765db

Please sign in to comment.