From 3967887e7320daca4db82f6c0747648ace4539ec Mon Sep 17 00:00:00 2001 From: Pierre Date: Sat, 23 Jan 2021 22:54:30 -0600 Subject: [PATCH 1/2] added more complex usage example - resolves issue #4 --- README.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/README.md b/README.md index aec2568f..7563281d 100644 --- a/README.md +++ b/README.md @@ -117,6 +117,21 @@ jobs: - uses: arduino/arduino-lint-action@v1 ``` +A more complex workflow which passes two inputs to run the default checks on the projects in the repository but with permissive compliance and a complete output: + +```yaml +on: [push, pull_request] +jobs: + lint: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: arduino/arduino-lint-action@v1 + with: + verbose: true + compliance: permissive +``` + ## Contributing To report bugs or make feature requests, please submit an issue: https://github.com/arduino/arduino-lint-action/issues From 135b4f80aaddd3955d011e975522d632963c8719 Mon Sep 17 00:00:00 2001 From: Pierre Constantineau Date: Mon, 25 Jan 2021 08:37:53 -0600 Subject: [PATCH 2/2] Update README.md with suggested changes Co-authored-by: per1234 --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 7563281d..00826b51 100644 --- a/README.md +++ b/README.md @@ -117,7 +117,7 @@ jobs: - uses: arduino/arduino-lint-action@v1 ``` -A more complex workflow which passes two inputs to run the default checks on the projects in the repository but with permissive compliance and a complete output: +A more complex workflow which uses [inputs](#inputs) to configure the action for Library Manager ["update" mode](#library-manager) and strict compliance: ```yaml on: [push, pull_request] @@ -127,9 +127,9 @@ jobs: steps: - uses: actions/checkout@v2 - uses: arduino/arduino-lint-action@v1 - with: - verbose: true - compliance: permissive + with: + library-manager: update + compliance: strict ``` ## Contributing