arnaucube
arnaucube/hermez-nodePublic Self-hosted repository
hermez-node/.github/workflows/test.yml
.github/workflows/test.ymlRaw
 1name: Test
 2on: [ push, pull_request ]
 3jobs:
 4  test:
 5    strategy:
 6      matrix:
 7        go-version: [ 1.13.x, 1.14.x ]
 8        goarch: [ "amd64", "386" ]
 9    runs-on: ubuntu-latest
10    steps:
11    - name: Install Go
12      uses: actions/setup-go@v1
13      with:
14        go-version: ${{ matrix.go-version }}
15      env:
16        GOARCH: ${{ matrix.goarch }}
17    - name: Checkout code
18      uses: actions/checkout@v2
19    - name: Test
20      env:
21        GOARCH: ${{ matrix.goarch }}
22      run: go test ./...