github.com/leovct/zkevm-bridge-service@v0.4.4/.github/workflows/test.yml (about)

     1  name: Test
     2  on:
     3    push:
     4      branches:
     5        - main
     6        - master
     7        - develop
     8        - update-external-dependencies
     9    pull_request:
    10  jobs:
    11    test:
    12      strategy:
    13        matrix:
    14          go-version: [ 1.21.x ]
    15          goarch: [ "amd64" ]
    16      runs-on: ubuntu-latest
    17      steps:
    18      - name: Checkout code
    19        uses: actions/checkout@v2
    20      - name: Install Go
    21        uses: actions/setup-go@v1
    22        with:
    23          go-version: ${{ matrix.go-version }}
    24        env:
    25          GOARCH: ${{ matrix.goarch }}
    26      - name: Test
    27        run: make test
    28      - name: Benchmark Test
    29        run: make bench