github.com/yoheimuta/protolint@v0.49.8-0.20240515023657-4ecaebb7575d/.github/workflows/go.yml (about)

     1  ---
     2  name: Go
     3  
     4  on:
     5    pull_request:
     6  
     7  jobs:
     8  
     9    build-and-scan:
    10      runs-on: ubuntu-latest
    11      steps:
    12        - uses: actions/checkout@v4
    13  
    14        - name: Set up Go
    15          uses: actions/setup-go@v3
    16          with:
    17            go-version: 1.21
    18  
    19        - name: Lint
    20          run: |
    21            make dev/install/dep
    22            make test/lint
    23  
    24        - name: Test
    25          run: make test
    26  
    27        - name: Build
    28          run: make build/cmd/protolint