Skip to content
This repository has been archived by the owner on Aug 12, 2024. It is now read-only.

GHA: only run go-apidiff for PRs #1940

GHA: only run go-apidiff for PRs

GHA: only run go-apidiff for PRs #1940

Workflow file for this run

name: sanity
on:
workflow_dispatch:
merge_group:
pull_request:
push:
branches:
- main
jobs:
verify:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version-file: "go.mod"
- name: Run verification checks
run: make verify
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version-file: "go.mod"
- name: Run golangci linting checks
run: make lint GOLANGCI_LINT_ARGS="--out-format github-actions"
markdown:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- uses: DavidAnson/markdownlint-cli2-action@v11
with:
config: .markdownlint.yaml
globs: |
**/*.md
!.bingo