Skip to content

authzed/action-spicedb-validate

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

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 to any workflow:

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

Note: The actions/checkout step is required before running this action. Without it, your repository files won't be available and validation will fail with "no such file or directory".

The validationfile path should be relative to the repository root.

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

Contributors 4

  •  
  •  
  •  
  •