...

Text file src/github.com/aws/smithy-go/.github/workflows/api_diff_check.yml

Documentation: github.com/aws/smithy-go/.github/workflows

     1name: Go
     2
     3on:
     4  push:
     5    branches: [ main ]
     6  pull_request:
     7    branches: [ '*' ]
     8
     9jobs:
    10
    11  build:
    12    name: API Diff Check
    13    runs-on: ubuntu-latest
    14    steps:
    15
    16    - name: Set up Go 1.x
    17      uses: actions/setup-go@v2
    18      with:
    19        go-version: "1.20"
    20      id: go
    21
    22    - name: Check out code into the Go module directory
    23      uses: actions/checkout@v2
    24
    25    - name: Get dependencies
    26      run: |
    27        (cd /tmp && go install golang.org/x/exp/cmd/gorelease@latest)
    28
    29    - name: Check APIs
    30      run: $(go env GOPATH)/bin/gorelease

View as plain text