mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-24 07:34:31 +00:00
- New workflow triggering only on yaml file changes using the built-in `yamllint` - `.yamllint.yml` configuration added at the root of the project - Fix existing yml files to satisfy ymllint - Ignore go-ethereum original yml files
43 lines
1.3 KiB
YAML
43 lines
1.3 KiB
YAML
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';
|