...

Text file src/github.com/googleapis/enterprise-certificate-proxy/.github/workflows/test-client.yml

Documentation: github.com/googleapis/enterprise-certificate-proxy/.github/workflows

     1name: Build and Test Client
     2
     3on:
     4  push:
     5    branches: [ main ]
     6  pull_request:
     7    branches: [ main ]
     8
     9jobs:
    10
    11  build:
    12    runs-on: ubuntu-latest
    13    steps:
    14    - uses: actions/checkout@v3
    15
    16    - name: Set up Go
    17      uses: actions/setup-go@v4
    18      with:
    19        go-version: 1.19
    20
    21    - name: Build
    22      run: go build -v ./client/...
    23
    24    - name: Test
    25      run: go test -v ./client/...
    26
    27    - name: Lint
    28      uses: golangci/golangci-lint-action@v3
    29      with:
    30        version: latest
    31        working-directory: ./client
    32        args: -E gofmt --max-same-issues 0

View as plain text