Skip to content

Check Lingua Franca files

Actions
Ensure that all Lingua Franca files compile and are formatted correctly
v1.0.0
Latest
Star (0)

typescript-action status

Summary

Action for repositories with Lingua Franca code to ensure that the source files work with a particular version of the compiler (the latest release is used by default). It recursively visits a given search_dir, finds every .lf file, and reports each file that either fails a compile or format check, depending on the specified check_mode parameter. This action was initially developed for use in the Lingua Franca Playground.

Usage

- uses: lf-lang/action-check-lf-files@main
  with:
    checkout_dir: 'lingua-franca'                   # Where the lingua-franca repo should be
    check_mode: `compile`                           # Do `compile` (default) or `format` check
    compiler_ref: 'master'                          # Which version of the compiler to use
    delete_if_exists: false                         # Delete if `checkout_dir` already exists
    exclude_dirs: '["failing", "experimental"]'     # JSON array of directories not to visit
    no_compile_flag: false                          # Run lfc with `--no-compile` flag if true
    skip_clone: false                               # Use an existing clone of `lingua-franca`
    search_dir: '.'                                 # Where to start looking for `.lf` files

Contributing

For developer docs that describe how to build, test, and publish, have a look here.

Check Lingua Franca files is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Ensure that all Lingua Franca files compile and are formatted correctly
v1.0.0
Latest

Check Lingua Franca files is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.