Skip to content
play

GitHub Action

Validate SpiceDB schema

v1.0.1 Latest version

Validate SpiceDB schema

play

Validate SpiceDB schema

Runs the `zed validate` command on the provided schema and test data

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Validate SpiceDB schema

uses: authzed/action-spicedb-validate@v1.0.1

Learn more about this action in authzed/action-spicedb-validate

Choose a version

SpiceDB Validate GitHub Action

Docs License Build Status Discord Server Twitter

This project is a GitHub Action that runs the zed validate command for a SpiceDB schema and test data.

A compatible file can be produced by downloading from the Authzed Playground.

Usage

Add the following any workflow:

steps:
- uses: "authzed/action-spicedb-validate@v1"
  with:
    validationfile: "myschema.zaml"

See test-schema.zaml for an example of an input file.