32 lines
661 B
YAML
32 lines
661 B
YAML
name: verify
|
|
|
|
on:
|
|
pull_request:
|
|
branches:
|
|
- 'main'
|
|
- 'release/**'
|
|
push:
|
|
branches:
|
|
- 'main'
|
|
- 'release/**'
|
|
|
|
permissions:
|
|
contents: read # for actions/checkout to fetch code
|
|
|
|
jobs:
|
|
|
|
verify-linux-amd64:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
|
|
- name: Setup Go
|
|
uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
|
|
with:
|
|
go-version-file: 'go.mod'
|
|
cache-dependency-path: |
|
|
**/go.sum
|
|
**/go.mod
|
|
- name: Verify
|
|
run: make verify
|