...

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

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

     1name: Build and Test Signer Windows
     2
     3on:
     4  push:
     5    branches: [ main ]
     6  pull_request:
     7    branches: [ main ]
     8
     9jobs:
    10
    11  build:
    12    runs-on: windows-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.20'
    20
    21    - name: Build
    22      working-directory: ./internal/signer/windows
    23      run: go build -v ./...
    24
    25    - name: Test
    26      working-directory: ./internal/signer/windows
    27      run: go test -v ./...
    28      
    29    - name: Lint
    30      uses: golangci/golangci-lint-action@v3
    31      with:
    32        version: latest
    33        working-directory: ./internal/signer/windows
    34        args: -E gofmt --max-same-issues 0
    35
    36    - name: Create Binaries
    37      run: .\build\scripts\windows_amd64.ps1
    38
    39    - uses: actions/upload-artifact@v3
    40      with:
    41        name: windows_amd64
    42        path: .\build\bin\windows_amd64\*

View as plain text