Skip to content

Commit

Permalink
Merge pull request #234 from ethereum-optimism/gk/go-mod-tidy-ci
Browse files Browse the repository at this point in the history
ci: add go mod tidy check
  • Loading branch information
sebastianst authored Feb 2, 2024
2 parents ea3c304 + b15f1ac commit 0047f39
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,14 @@ jobs:
- checkout
- run:
command: go run build/ci.go lint
tidy-geth:
resource_class: small
docker:
- image: cimg/go:1.21
steps:
- checkout
- run:
command: go mod tidy && git diff --exit-code
check-releases:
docker:
- image: cimg/go:1.21
Expand All @@ -157,6 +165,8 @@ workflows:
name: Run unit tests for geth
- lint-geth:
name: Run linter over geth
- tidy-geth:
name: Check geth go.mod file has been tidied
- docker-release:
name: Push to Docker
docker_tags: <<pipeline.git.revision>>
Expand Down

0 comments on commit 0047f39

Please sign in to comment.