Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: workflow to print diffs vs libevm-base tag #18

Merged
merged 17 commits into from
Sep 14, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 38 additions & 0 deletions .github/workflows/libevm-delta.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: libevm delta

on:
push:
branches: [ libevm ]
pull_request:
branches: [ libevm ]
workflow_dispatch:

jobs:
diffs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # everything
fetch-tags: true

- name: Color-blindness a11y
run: | # https://davidmathlogic.com/colorblind/#%23D81B60-%231E88E5-%23FFC107-%23004D40:~:text=8%20pairs%20of%20contrasting%20colors
git config color.diff.old "#DC3220";
git config color.diff.new "#005AB5";

- name: git diff libevm-base
run: |
git diff --diff-filter=a --word-diff --unified=0 --color=always \
libevm-base \
':(exclude).golangci.yml' \
':(exclude).github/**';

- name: git diff libevm-base..libevm
run: |
git checkout libevm --;
git diff --diff-filter=a --word-diff --unified=0 --color=always \
libevm-base \
':(exclude).golangci.yml' \
':(exclude).github/**';