forked from ethereum/go-ethereum
-
Notifications
You must be signed in to change notification settings - Fork 2
42 lines (37 loc) · 1.29 KB
/
libevm-delta.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
name: libevm delta
on:
push:
branches: [ main, 'release/**' ]
pull_request:
branches: [ main, 'release/**' ]
workflow_dispatch:
jobs:
diffs:
env:
# Last commit from rename-module workflow job to be included in `main`
LIBEVM_BASE: 0b56af5a01b8a0c6fc9d60247bb79ffd03d1bcfd
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';