mirror of
https://github.com/scroll-tech/scroll.git
synced 2026-04-23 03:00:50 -04:00
fix ci
This commit is contained in:
12
.github/workflows/miner_api.yml
vendored
12
.github/workflows/miner_api.yml
vendored
@@ -71,10 +71,10 @@ jobs:
|
||||
- name: Install goimports
|
||||
run: go install golang.org/x/tools/cmd/goimports
|
||||
- run: goimports -local scroll-tech/miner-api/ -w .
|
||||
# - run: go mod tidy
|
||||
- run: go mod tidy
|
||||
# If there are any diffs from goimports or go mod tidy, fail.
|
||||
# - name: Verify no changes from goimports and go mod tidy
|
||||
# run: |
|
||||
# if [ -n "$(git status --porcelain)" ]; then
|
||||
# exit 1
|
||||
# fi
|
||||
- name: Verify no changes from goimports and go mod tidy
|
||||
run: |
|
||||
if [ -n "$(git status --porcelain)" ]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user