diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index b56918085294d..0614208688673 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -1,36 +1 @@ -# Lines starting with '#' are comments. -# Each line is a file pattern followed by one or more owners. - -accounts/usbwallet/ @gballet -accounts/scwallet/ @gballet -accounts/abi/ @gballet @MariusVanDerWijden -beacon/engine/ @MariusVanDerWijden @lightclient @fjl -beacon/light/ @zsfelfoldi -beacon/merkle/ @zsfelfoldi -beacon/types/ @zsfelfoldi @fjl -beacon/params/ @zsfelfoldi @fjl -cmd/clef/ @holiman -cmd/evm/ @holiman @MariusVanDerWijden @lightclient -core/state/ @rjl493456442 @holiman -crypto/ @gballet @jwasinger @holiman @fjl -core/ @holiman @rjl493456442 -eth/ @holiman @rjl493456442 -eth/catalyst/ @MariusVanDerWijden @lightclient @fjl @jwasinger -eth/tracers/ @s1na -ethclient/ @fjl -ethdb/ @rjl493456442 -event/ @fjl -trie/ @rjl493456442 -triedb/ @rjl493456442 -core/tracing/ @s1na -graphql/ @s1na -internal/ethapi/ @fjl @s1na @lightclient -internal/era/ @lightclient -metrics/ @holiman -miner/ @MariusVanDerWijden @holiman @fjl @rjl493456442 -node/ @fjl -p2p/ @fjl @zsfelfoldi -rlp/ @fjl -params/ @fjl @holiman @karalabe @gballet @rjl493456442 @zsfelfoldi -rpc/ @fjl @holiman -signer/ @holiman +* @ericlee42 diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000000000..3a626c3a7f273 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,6 @@ +version: 2 +updates: + - package-ecosystem: github-actions + directory: / + schedule: + interval: monthly diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml new file mode 100644 index 0000000000000..e482552614173 --- /dev/null +++ b/.github/workflows/docker.yml @@ -0,0 +1,52 @@ +name: docker + +on: + workflow_dispatch: + push: + tags: + - "*" + +jobs: + docker-build-push: + runs-on: ubuntu-latest + permissions: + contents: read + packages: write + id-token: write + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Set up QEMU + uses: docker/setup-qemu-action@v3 + + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v3 + + - name: Login to DockerHub + uses: docker/login-action@v3 + with: + registry: ghcr.io + username: ${{ github.actor }} + password: ${{ secrets.GITHUB_TOKEN }} + + - name: Docker meta + id: docker-meta + uses: docker/metadata-action@v5 + with: + images: ghcr.io/${{ github.repository }} + + - name: Build and push + uses: docker/build-push-action@v6 + with: + context: . + push: ${{ github.event_name != 'pull_request' }} + pull: true + tags: ${{ steps.docker-meta.outputs.tags }} + labels: ${{ steps.docker-meta.outputs.labels }} + annotations: ${{ steps.docker-meta.outputs.annotations }} + cache-from: type=gha + cache-to: type=gha,mode=max + sbom: false + provenance: false + platforms: linux/amd64,linux/arm64 diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml deleted file mode 100644 index 6406d2fa3db0c..0000000000000 --- a/.github/workflows/go.yml +++ /dev/null @@ -1,24 +0,0 @@ -name: i386 linux tests - -on: - push: - branches: [ master ] - pull_request: - branches: [ master ] - workflow_dispatch: - -jobs: - build: - runs-on: self-hosted - steps: - - uses: actions/checkout@v4 - - name: Set up Go - uses: actions/setup-go@v5 - with: - go-version: 1.23.0 - cache: false - - name: Run tests - run: go test -short ./... - env: - GOOS: linux - GOARCH: 386 diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml new file mode 100644 index 0000000000000..1b235b6ab0470 --- /dev/null +++ b/.github/workflows/test.yaml @@ -0,0 +1,25 @@ +name: test + +on: + push: + branches: + - "*" + pull_request: + branches: + - "*" + workflow_dispatch: + +jobs: + test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-go@v5 + with: + go-version: "1.23" + check-latest: true + - run: go run build/ci.go lint + - run: go run build/ci.go check_tidy + - run: go run build/ci.go check_generate + - run: go run build/ci.go check_baddeps + - run: go run build/ci.go test diff --git a/.gitignore b/.gitignore index ac0f4efdfb4a6..a37c857b788d3 100644 --- a/.gitignore +++ b/.gitignore @@ -42,3 +42,6 @@ profile.cov .vscode tests/spec-tests/ + +# goat +/tmp