Skip to content

📖 catalogd API Reference Generation #3011

📖 catalogd API Reference Generation

📖 catalogd API Reference Generation #3011

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: make verify
with:

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

View workflow run for this annotation

GitHub Actions / sanity

Invalid workflow file

The workflow is not valid. .github/workflows/sanity.yaml (Line: 33, Col: 7): Unexpected value 'with'
path: operator-controller
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"