mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-23 07:04:35 +00:00
* chore: update GitHub workflow refs to `main` branch * chore: update README reference to old repo path * chore: exclude `README.md` from `libevm-delta` workflow
39 lines
1.1 KiB
YAML
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';
|