arnaucube
arnaucube/go-iden3-cryptoPublic Self-hosted repository
go-iden3-crypto/.github/workflows/test.yml
.github/workflows/test.ymlRaw
 1on: [ push, pull_request ]
 2name: Test
 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    - uses: actions/cache@v1
20      with:
21          path: ~/go/pkg/mod
22          key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
23          restore-keys: |
24              ${{ runner.os }}-go-              
25    - name: Test
26      env:
27        GOARCH: ${{ matrix.goarch }}
28      run: go test ./...