Fix some bugs when integrating cached reset branch #583
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build internal tools | |
on: | |
pull_request: | |
paths: | |
- 'tools/evil-spammer/**' | |
- 'tools/genesis-snapshot/**' | |
jobs: | |
build: | |
name: Import Check | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- uses: actions/setup-go@v4 | |
with: | |
go-version-file: 'go.mod' | |
cache: false | |
- name: Print Go version | |
run: go version | |
- name: Build evil-spammer tool | |
working-directory: tools/evil-spammer | |
run: go mod tidy && go build . | |
- name: Build genesis-snapshot tool | |
working-directory: tools/genesis-snapshot | |
run: go mod tidy && go build . |