Bump github.com/go-resty/resty/v2 from 2.15.3 to 2.16.0 #297
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: Rego Lint and Test | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
lint-and-test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out repository code | |
uses: actions/checkout@v4 | |
- name: Setup Regal | |
uses: StyraInc/setup-regal@v1 | |
with: | |
version: latest | |
- name: Lint | |
# Disable the line-length check for now, as it's too strict: it flags | |
# the long regexes in various classification policies. | |
run: regal lint --format=github ./classification/labels/ | |
- name: Setup OPA | |
uses: open-policy-agent/setup-opa@v2 | |
with: | |
version: latest | |
- name: Run OPA Tests | |
run: opa test ./classification/labels/*.rego -v |