github.com/creachadair/ffs@v0.17.3/.github/workflows/go-presubmit.yml (about)

     1  name: Go presubmit
     2  
     3  on:
     4    push:
     5      branches:
     6        - main
     7    pull_request:
     8      types: [opened, reopened, synchronize]
     9    workflow_dispatch:
    10  
    11  permissions:
    12    contents: read
    13  
    14  jobs:
    15    build:
    16      name: Go presubmit
    17      runs-on: ${{ matrix.os }}
    18      strategy:
    19        matrix:
    20          go-version: ['stable']
    21          os: ['ubuntu-24.04']
    22      steps:
    23      - uses: actions/checkout@v5
    24      - name: Install Go ${{ matrix.go-version }}
    25        uses: actions/setup-go@v6
    26        with:
    27          go-version: ${{ matrix.go-version }}
    28      - uses: creachadair/go-presubmit-action@v2