Skip to content

Switching from Madoko to AsciiDoc for P4Runtime specification #313

Switching from Madoko to AsciiDoc for P4Runtime specification

Switching from Madoko to AsciiDoc for P4Runtime specification #313

Workflow file for this run

name: Build spec
on:
push:
branches:
- main
- '*-dev'
pull_request:
branches:
- main
- '*-dev'
jobs:
asciidoc -lint:

Check failure on line 14 in .github/workflows/spec.yml

View workflow run for this annotation

GitHub Actions / Build spec

Invalid workflow file

The workflow is not valid. .github/workflows/spec.yml (Line: 14, Col: 3): The identifier 'asciidoc -lint' is invalid. IDs may only contain alphanumeric characters, '_', and '-'. IDs must start with a letter or '_' and and must be less than 100 characters.
runs-on: [ubuntu-latest]
steps:
- uses: actions/checkout@v3
- name: Run linter
run: |
./tools/asciidoc lint.py docs/v1/P4Runtime-Spec.adoc
build-spec:
runs-on: [ubuntu-latest]
steps:
- uses: actions/checkout@v3
- name: Build spec
run: |
docker run -v `pwd`/docs/v1:/usr/src/p4-spec p4lang/p4rt-asciidoc :latest make
ls docs/v1/build