Files
letro-authentication-service/.github/actions/build-policies/action.yml
2026-02-04 18:35:43 +01:00

22 lines
592 B
YAML

# Copyright 2025 New Vector Ltd.
#
# SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
# Please see LICENSE files in the repository root for full details.
name: Build the Open Policy Agent policies
description: Installs OPA and builds the policies
runs:
using: composite
steps:
- name: Install Open Policy Agent
uses: open-policy-agent/setup-opa@v2.2.0
with:
# Keep in sync with the Dockerfile and policies/Makefile
version: 1.13.1
- name: Build the policies
run: make
working-directory: ./policies
shell: sh