File tree Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -19,15 +19,25 @@ jobs:
1919 fetch-depth : 0 # everything
2020 fetch-tags : true
2121
22- - name : check out source commit
22+ - name : Check out source commit
2323 run : git checkout ${{ matrix.source_commit }}
2424
25- - name : globally update module name
25+ - name : Globally update module name
2626 run : |
2727 go mod edit -module github.com/ava-labs/go-ethereum;
2828 find . -iname '*.go' | xargs sed -i -E \
2929 's|^((import)?\s.*?"github\.com/)ethereum/go-ethereum|\1ava-labs/go-ethereum|';
3030
31+ - name : Set up Go
32+ uses : actions/setup-go@v5
33+ with :
34+ go-version : 1.21.4
35+
36+ - name : Smoke test by `go build ./...`
37+ run : | # `go list` just demonstrates the updated module name
38+ go list .;
39+ go build ./...
40+
3141 - name : commit to "auto-rename-module-${{ matrix.source_commit }}" branch
3242 uses : devops-infra/action-commit-push@8bc2ff9f9de7aa2a7581fc7e5b6401c04cab54c7
3343 with :
You can’t perform that action at this time.
0 commit comments