-
Notifications
You must be signed in to change notification settings - Fork 30
33 lines (29 loc) · 972 Bytes
/
test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: Test
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
config:
# Add policies to test here. Use a path relative to the root of this repository.
- repolinter-rulesets/community-plus.yml
- repolinter-rulesets/new-relic-one-catalog-project.json
- repolinter-rulesets/example-code.yml
- repolinter-rulesets/new-relic-experimental.yml
- repolinter-rulesets/community-project.yml
steps:
- name: Checkout Repo
uses: actions/checkout@v2
- name: Run Repolinter Action
id: repolinter
continue-on-error: true
uses: newrelic/repolinter-action@v1
with:
config_file: ${{ matrix.config }}
- name: Check Repolinter Action Result
env:
DID_ERROR: ${{ steps.repolinter.outputs.errored }}
shell: bash
run: '[ "$DID_ERROR" = "false" ]'