Bump app versions to 0.0.14 #1207
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Policy Test | |
on: | |
push: | |
pull_request: | |
jobs: | |
lint: | |
# Deduplicate jobs from pull requests and branch pushes within the same repo. | |
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.repository | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout source | |
uses: actions/[email protected] | |
- name: Setup Regal | |
uses: StyraInc/[email protected] | |
with: | |
version: latest | |
- name: Lint | |
run: > | |
regal | |
lint | |
--format github | |
--config-file regal.yaml | |
./policy | |
test: | |
# Deduplicate jobs from pull requests and branch pushes within the same repo. | |
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.repository | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout source | |
uses: actions/[email protected] | |
- name: Setup OPA | |
uses: open-policy-agent/[email protected] | |
with: | |
version: latest | |
- name: Test | |
run: opa test ./policy -v |