github.com/grailbio/base@v0.0.11/.github/workflows/ci.yml (about)

     1  name: CI
     2  
     3  on:
     4    push:
     5      branches: [ master ]
     6    pull_request:
     7      branches: [ master ]
     8  
     9  jobs:
    10    build:
    11      strategy:
    12        fail-fast: false
    13        matrix:
    14          go: [1.13, 1.14, 1.15]
    15          os: [ubuntu-latest, macos-latest]
    16      name: Build & Test
    17      runs-on: ${{ matrix.os }}
    18      steps:
    19      - name: Set up Go ${{ matrix.go }}
    20        uses: actions/setup-go@v2
    21        with:
    22          go-version: ${{ matrix.go }}
    23      - name: Check out
    24        uses: actions/checkout@v2
    25      - name: Test
    26        run: go test -tags=unit ./...
    27    golangci:
    28      name: Lint
    29      runs-on: ubuntu-latest
    30      steps:
    31      - name: Check out
    32        uses: actions/checkout@v2
    33      - name: golangci-lint
    34        uses: golangci/golangci-lint-action@v2
    35        with:
    36          version: v1.29
    37          only-new-issues: true
    38          args: --timeout=5m