Skip to content

Add a job to check formatting #7

Add a job to check formatting

Add a job to check formatting #7

Workflow file for this run

name: Check with latest Rzk
# Controls when the workflow will run
on:
# Triggers the workflow on push events
push:
# and pull request events
pull_request:
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
check:
runs-on: ubuntu-latest
name: Check formalisations
steps:
- uses: actions/checkout@v3
- name: Check all files
uses: rzk-lang/rzk-action@v1
with:
rzk-version: latest
files: src/**/*.rzk.md
check-formatting:
runs-on: ubuntu-latest

Check failure on line 27 in .github/workflows/rzk.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/rzk.yml

Invalid workflow file

You have an error in your yaml syntax on line 27
name: Check Rzk formatting
steps:
- uses: actions/checkout@v3
- name: Check formatting
uses: rzk-lang/[email protected]
with:
rzk-version: v0.7.2
typecheck: false
check-formatting: true