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: Uniswap | |
| on: | |
| push: | |
| branches: ["main"] | |
| paths-ignore: | |
| - "**/docs/**" | |
| - "**/README.md" | |
| pull_request: | |
| branches: ["main"] | |
| paths-ignore: | |
| - "**/docs/**" | |
| - "**/README.md" | |
| jobs: | |
| uniswap: | |
| if: github.event.pull_request.draft == false | |
| runs-on: ubuntu-latest | |
| services: | |
| mysql: | |
| image: mysql:5.7 | |
| env: | |
| MYSQL_ROOT_PASSWORD: root | |
| MYSQL_DATABASE: test | |
| ports: | |
| - 3306:3306 | |
| options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Go | |
| uses: actions/setup-go@v4 | |
| with: | |
| go-version: "1.23" | |
| - name: Build Uniswap Test | |
| run: make build_uniswap_test_race | |
| - name: Parallel Uniswap Test | |
| run: make ci_parallel_uniswap_test | |
| - name: Serial Uniswap Test | |
| run: make ci_serial_uniswap_test |