mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-20 21:54:30 +00:00
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:
parent
18d6153551
commit
88c00c6801
4 changed files with 14 additions and 13 deletions
6
.github/workflows/go.yml
vendored
6
.github/workflows/go.yml
vendored
|
|
@ -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}");
|
||||
|
|
|
|||
4
.github/workflows/golangci-lint.yml
vendored
4
.github/workflows/golangci-lint.yml
vendored
|
|
@ -2,9 +2,9 @@ name: golangci-lint
|
|||
|
||||
on:
|
||||
push:
|
||||
branches: [ libevm ]
|
||||
branches: [ main ]
|
||||
pull_request:
|
||||
branches: [ libevm ]
|
||||
branches: [ main ]
|
||||
workflow_dispatch:
|
||||
|
||||
permissions:
|
||||
|
|
|
|||
15
.github/workflows/libevm-delta.yml
vendored
15
.github/workflows/libevm-delta.yml
vendored
|
|
@ -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';
|
||||
|
|
|
|||
|
|
@ -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).
|
||||
|
|
|
|||
Loading…
Reference in a new issue