source-controller/.github/workflows/verify.yaml

33 lines
665 B
YAML

name: verify
on:
pull_request:
paths-ignore:
- 'CHANGELOG.md'
- 'README.md'
- 'MAINTAINERS'
push:
branches:
- main
permissions:
contents: read # for actions/checkout to fetch code
jobs:
verify-linux-amd64:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
- name: Setup Go
uses: actions/setup-go@4d34df0c2316fe8122ab82dc22947d607c0c91f9 # v4.0.0
with:
go-version: 1.20.x
cache-dependency-path: |
**/go.sum
**/go.mod
- name: Verify
run: make verify