...

Text file src/github.com/cli/safeexec/.github/workflows/go.yml

Documentation: github.com/cli/safeexec/.github/workflows

     1name: Go
     2
     3on: [push, pull_request]
     4
     5jobs:
     6  build:
     7    name: Build
     8    strategy:
     9      fail-fast: false
    10      matrix:
    11        os: [ubuntu-latest, windows-latest]
    12        go: [1.13, 1.14, 1.15]
    13
    14    runs-on: ${{matrix.os}}
    15    steps:
    16
    17    - name: Set up Go
    18      uses: actions/setup-go@v2
    19      with:
    20        go-version: ^${{matrix.go}}
    21
    22    - name: Check out code into the Go module directory
    23      uses: actions/checkout@v2
    24
    25    - name: Get dependencies
    26      run: go get -v -t -d ./...        
    27
    28    - name: Test
    29      run: go test -v .

View as plain text