mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-21 22:24:32 +00:00
* fix: `vm.WithUNSAFECallerAddressProxying` under `DELEGATECALL` * test: `vm.WithUNSAFECallerAddressProxying()` effect on outgoing caller addr * chore: mark `eth/tracers/js` test flaky * feat: `vm.PrecompileEnvironment.IncomingCallType()` * chore: minor documentation edit * doc: `PrecompileEnvironment` example for determining actual caller * chore: placate the linter
23 lines
727 B
YAML
23 lines
727 B
YAML
name: Go
|
|
|
|
on:
|
|
push:
|
|
branches: [ libevm ]
|
|
pull_request:
|
|
branches: [ libevm ]
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
go_test_short:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Set up Go
|
|
uses: actions/setup-go@v5
|
|
with:
|
|
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)$';
|
|
go list ./... | grep -P "${FLAKY_REGEX}" | xargs -n 1 go test -short;
|
|
go test -short $(go list ./... | grep -Pv "${FLAKY_REGEX}");
|