revise solidity code #518
This file contains hidden or 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
| # This workflow will build a golang project | |
| # For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go | |
| name: Transfer | |
| on: | |
| push: | |
| branches: ["main"] | |
| paths-ignore: | |
| - "**/docs/**" | |
| - "**/README.md" | |
| pull_request: | |
| branches: ["main"] | |
| paths-ignore: | |
| - "**/docs/**" | |
| - "**/README.md" | |
| jobs: | |
| transfer: | |
| if: github.event.pull_request.draft == false | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Go | |
| uses: actions/setup-go@v4 | |
| with: | |
| go-version: "1.23" | |
| - name: Run Makefile check-mod-tidy | |
| run: make check-mod-tidy | |
| - name: Build | |
| run: make build | |
| - name: Build Test | |
| run: make build_transfer_test_race | |
| - name: Parallel Transfer Test | |
| run: make ci_parallel_transfer_test | |
| - name: Serial Transfer Test | |
| run: make ci_serial_transfer_test | |
| - name: Transfer Client Test | |
| run: make ci_transfer_client_test |