github.com/shogo82148/goa-v1@v1.6.2/.github/workflows/test.yml (about)

     1  name: test
     2  on:
     3    push:
     4      branches:
     5        - main
     6    pull_request:
     7  
     8  jobs:
     9    test:
    10      strategy:
    11        matrix:
    12          os:
    13            - "ubuntu-latest"
    14            - "windows-latest"
    15            - "macos-latest"
    16          go:
    17            - "1"
    18            - "1.22"
    19            - "1.21"
    20            - "1.20"
    21        fail-fast: false
    22      runs-on: ${{ matrix.os }}
    23      steps:
    24        - uses: actions/checkout@v4
    25          with:
    26            path: src/github.com/shogo82148/goa-v1
    27            persist-credentials: false
    28        - uses: actions/setup-go@v5
    29          with:
    30            go-version: ${{ matrix.go }}
    31        - run: |
    32            go version
    33            echo "GO111MODULE=on" >> "$GITHUB_ENV"
    34            echo "GOPATH=${{ github.workspace }}" >> "$GITHUB_ENV"
    35            echo "${{ github.workspace }}/bin" >> "$GITHUB_PATH"
    36          shell: bash
    37        - run: make depend
    38          working-directory: src/github.com/shogo82148/goa-v1
    39        - run: make test
    40          working-directory: src/github.com/shogo82148/goa-v1