Skip to content

Workflow file for this run

name: check

Check failure on line 1 in .github/workflows/check.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/check.yml

Invalid workflow file

Cannot define both `uses` and `steps` at the same time for the following jobs: container-check
on:
push:
branches: '*'
pull_request:
branches: '*'
#on:
# workflow_run:
# workflows: ["prepare"]
# types:
# - completed
jobs:
container-check:
uses: ./.github/workflows/prepare.yml
secrets: inherit
runs-on: ubuntu-latest
container:
image: docker_image:ol9
steps:
- name: Check clang-format
run: find . -type f -regex '.*\\.\\(hpp\\|cpp\\)$' -print0 | xargs -0 clang-format --dry-run --Werror --style=file"