Skip to content

📖 catalogd API Reference Generation #3054

📖 catalogd API Reference Generation

📖 catalogd API Reference Generation #3054

Workflow file for this run

name: sanity
on:
workflow_dispatch:
pull_request:
merge_group:
push:
branches:
- main
jobs:
verify:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
path: operator-controller
- uses: actions/setup-go@v5
with:
go-version-file: "operator-controller/go.mod"
- name: Get catalogd version
id: get-catalogd-version
run: |
cd operator-controller
echo "CATALOGD_VERSION=$(go list -mod=mod -m -f "{{.Version}}" github.com/operator-framework/catalogd)" >> "$GITHUB_OUTPUT"
- uses: actions/checkout@v4
with:
repository: operator-framework/catalogd
path: catalogd
ref: "${{ steps.get-catalogd-version.outputs.CATALOGD_VERSION }}"
- name: Run verification checks
run: |
cd operator-controller
make verify
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: "go.mod"
- name: Run golangci linting checks
run: make lint GOLANGCI_LINT_ARGS="--out-format github-actions"