Skip to content

Commit

Permalink
chore: cleanup after repo and default-branch renames (ethereum#55)
Browse files Browse the repository at this point in the history
* chore: update GitHub workflow refs to `main` branch

* chore: update README reference to old repo path

* chore: exclude `README.md` from `libevm-delta` workflow
  • Loading branch information
ARR4N authored Oct 11, 2024
1 parent 18d6153 commit 88c00c6
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 13 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: Go

on:
push:
branches: [ libevm ]
branches: [ main ]
pull_request:
branches: [ libevm ]
branches: [ main ]
workflow_dispatch:

jobs:
Expand All @@ -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 changes: 2 additions & 2 deletions .github/workflows/golangci-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: golangci-lint

on:
push:
branches: [ libevm ]
branches: [ main ]
pull_request:
branches: [ libevm ]
branches: [ main ]
workflow_dispatch:

permissions:
Expand Down
15 changes: 8 additions & 7 deletions .github/workflows/libevm-delta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: libevm delta

on:
push:
branches: [ libevm ]
branches: [ main ]
pull_request:
branches: [ libevm ]
branches: [ main ]
workflow_dispatch:

jobs:
Expand All @@ -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';
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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).

0 comments on commit 88c00c6

Please sign in to comment.