go-ethereum/.github/workflows/libevm-delta.yml
Arran Schlosberg 88c00c6801
chore: cleanup after repo and default-branch renames (#55)
* chore: update GitHub workflow refs to `main` branch

* chore: update README reference to old repo path

* chore: exclude `README.md` from `libevm-delta` workflow
2024-10-11 10:29:32 -07:00

39 lines
1.1 KiB
YAML

name: libevm delta
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
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/**' \
':(exclude)README.md';
- name: git diff libevm-base..main
run: |
git checkout main --;
git diff --diff-filter=a --word-diff --unified=0 --color=always \
libevm-base \
':(exclude).golangci.yml' \
':(exclude).github/**' \
':(exclude)README.md';