Merge pull request #51 from newrelic/fixup-custom-prop-names #123
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: 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" ]' |