Skip to content

📖 catalogd API Reference Generation #3008

📖 catalogd API Reference Generation

📖 catalogd API Reference Generation #3008

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
- 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"

Check failure on line 22 in .github/workflows/sanity.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/sanity.yaml

Invalid workflow file

You have an error in your yaml syntax on line 22
- uses: actions/checkout@v4
with:
repository: operator-framework/catalogd
path: catalogd
ref: "${{ steps.get-catalogd-version.outputs.CATALOGD_VERSION }}"
- uses: actions/setup-go@v5
with:
go-version-file: "go.mod"
- name: Run verification checks
run: 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"