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
This commit is contained in:
Arran Schlosberg 2024-10-11 18:29:32 +01:00 committed by GitHub
parent 18d6153551
commit 88c00c6801
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 14 additions and 13 deletions

View file

@ -2,9 +2,9 @@ name: Go
on:
push:
branches: [ libevm ]
branches: [ main ]
pull_request:
branches: [ libevm ]
branches: [ main ]
workflow_dispatch:
jobs:
@ -18,6 +18,6 @@ jobs:
go-version: 1.21.4
- name: Run tests
run: | # Upstream flakes are race conditions exacerbated by concurrent tests
FLAKY_REGEX='go-ethereum/(eth|eth/tracers/js|eth/tracers/logger|accounts/keystore|eth/downloader|miner|ethclient|ethclient/gethclient|eth/catalyst)$';
FLAKY_REGEX='go-ethereum/(eth|eth/tracers/js|eth/tracers/logger|accounts/abi/bind|accounts/keystore|eth/downloader|miner|ethclient|ethclient/gethclient|eth/catalyst)$';
go list ./... | grep -P "${FLAKY_REGEX}" | xargs -n 1 go test -short;
go test -short $(go list ./... | grep -Pv "${FLAKY_REGEX}");

View file

@ -2,9 +2,9 @@ name: golangci-lint
on:
push:
branches: [ libevm ]
branches: [ main ]
pull_request:
branches: [ libevm ]
branches: [ main ]
workflow_dispatch:
permissions:

View file

@ -2,9 +2,9 @@ name: libevm delta
on:
push:
branches: [ libevm ]
branches: [ main ]
pull_request:
branches: [ libevm ]
branches: [ main ]
workflow_dispatch:
jobs:
@ -26,13 +26,14 @@ jobs:
git diff --diff-filter=a --word-diff --unified=0 --color=always \
libevm-base \
':(exclude).golangci.yml' \
':(exclude).github/**';
':(exclude).github/**' \
':(exclude)README.md';
- name: git diff libevm-base..libevm
- name: git diff libevm-base..main
run: |
git checkout libevm --;
git checkout main --;
git diff --diff-filter=a --word-diff --unified=0 --color=always \
libevm-base \
':(exclude).golangci.yml' \
':(exclude).github/**';
':(exclude).github/**' \
':(exclude)README.md';

View file

@ -361,4 +361,4 @@ The libevm (i) _additions_ to the go-ethereum library (i.e. all code in files wi
be it a directory or file name); and (ii) _modifications_ to existing go-ethereum code; are licensed under the
[GNU Lesser General Public License v3.0](https://www.gnu.org/licenses/lgpl-3.0.en.html),
also included in our repository in the `COPYING.LESSER` file. A comprehensive outline of _modifications_ is
produced by the [libevm delta workflow](https://github.com/ava-labs/go-ethereum/actions/workflows/libevm-delta.yml).
produced by the [libevm delta workflow](https://github.com/ava-labs/libevm/actions/workflows/libevm-delta.yml).