From fa43bda41ec21de2640792528eb2f7b750f7e3aa Mon Sep 17 00:00:00 2001 From: Michael Carlstrom <36806982+InvincibleRMC@users.noreply.github.com> Date: Wed, 15 Feb 2023 11:09:19 -0500 Subject: [PATCH 1/7] Create cpp-linter.yml --- .github/workflows/cpp-linter.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/cpp-linter.yml diff --git a/.github/workflows/cpp-linter.yml b/.github/workflows/cpp-linter.yml new file mode 100644 index 00000000..060c4f80 --- /dev/null +++ b/.github/workflows/cpp-linter.yml @@ -0,0 +1,23 @@ +# For Float +# https://github.com/marketplace/actions/c-c-linter +name: cpp-linter + +on: push + +jobs: + cpp-linter: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: cpp-linter/cpp-linter-action@v2 + id: linter + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + style: file + + - name: Fail fast?! + if: steps.linter.outputs.checks-failed > 0 + run: echo "Some files failed the linting checks!" + # for actual deployment + # run: exit 1 From 88da53922edbdc2876d4963503682352d4e2ec43 Mon Sep 17 00:00:00 2001 From: Michael Carlstrom <36806982+InvincibleRMC@users.noreply.github.com> Date: Wed, 15 Feb 2023 11:14:44 -0500 Subject: [PATCH 2/7] Update and rename cpp-linter.yml to arduino-lint.yml --- .github/workflows/arduino-lint.yml | 13 +++++++++++++ .github/workflows/cpp-linter.yml | 23 ----------------------- 2 files changed, 13 insertions(+), 23 deletions(-) create mode 100644 .github/workflows/arduino-lint.yml delete mode 100644 .github/workflows/cpp-linter.yml diff --git a/.github/workflows/arduino-lint.yml b/.github/workflows/arduino-lint.yml new file mode 100644 index 00000000..99b4a201 --- /dev/null +++ b/.github/workflows/arduino-lint.yml @@ -0,0 +1,13 @@ +# Linter for Float Code +# https://github.com/marketplace/actions/arduino-arduino-lint-action +on: push +jobs: + lint: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: arduino/arduino-lint-action@v1 + with: + path: ./float + compliance: strict + recursive: true diff --git a/.github/workflows/cpp-linter.yml b/.github/workflows/cpp-linter.yml deleted file mode 100644 index 060c4f80..00000000 --- a/.github/workflows/cpp-linter.yml +++ /dev/null @@ -1,23 +0,0 @@ -# For Float -# https://github.com/marketplace/actions/c-c-linter -name: cpp-linter - -on: push - -jobs: - cpp-linter: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - uses: cpp-linter/cpp-linter-action@v2 - id: linter - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - with: - style: file - - - name: Fail fast?! - if: steps.linter.outputs.checks-failed > 0 - run: echo "Some files failed the linting checks!" - # for actual deployment - # run: exit 1 From 94a448d7096898eaca9b607e3592868d23f55b75 Mon Sep 17 00:00:00 2001 From: Michael Carlstrom <36806982+InvincibleRMC@users.noreply.github.com> Date: Wed, 15 Feb 2023 11:15:45 -0500 Subject: [PATCH 3/7] Update arduino-lint.yml --- .github/workflows/arduino-lint.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/arduino-lint.yml b/.github/workflows/arduino-lint.yml index 99b4a201..097705c6 100644 --- a/.github/workflows/arduino-lint.yml +++ b/.github/workflows/arduino-lint.yml @@ -8,6 +8,5 @@ jobs: - uses: actions/checkout@v3 - uses: arduino/arduino-lint-action@v1 with: - path: ./float compliance: strict recursive: true From 276688adff7c982769ccbe6b236a2240af061217 Mon Sep 17 00:00:00 2001 From: Michael Carlstrom <36806982+InvincibleRMC@users.noreply.github.com> Date: Wed, 15 Feb 2023 11:16:55 -0500 Subject: [PATCH 4/7] Update arduino-lint.yml --- .github/workflows/arduino-lint.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/arduino-lint.yml b/.github/workflows/arduino-lint.yml index 097705c6..14ee36ec 100644 --- a/.github/workflows/arduino-lint.yml +++ b/.github/workflows/arduino-lint.yml @@ -8,5 +8,6 @@ jobs: - uses: actions/checkout@v3 - uses: arduino/arduino-lint-action@v1 with: + path: ./ compliance: strict recursive: true From 07e93d932dd9f9ce980eada45c97c4532e0dcaba Mon Sep 17 00:00:00 2001 From: Michael Carlstrom <36806982+InvincibleRMC@users.noreply.github.com> Date: Wed, 15 Feb 2023 11:18:23 -0500 Subject: [PATCH 5/7] Update arduino-lint.yml --- .github/workflows/arduino-lint.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/arduino-lint.yml b/.github/workflows/arduino-lint.yml index 14ee36ec..ac6fe2d0 100644 --- a/.github/workflows/arduino-lint.yml +++ b/.github/workflows/arduino-lint.yml @@ -9,5 +9,5 @@ jobs: - uses: arduino/arduino-lint-action@v1 with: path: ./ - compliance: strict + #compliance: strict recursive: true From f4534957effc09a40a5754a25522a0d47bf11402 Mon Sep 17 00:00:00 2001 From: Michael Carlstrom <36806982+InvincibleRMC@users.noreply.github.com> Date: Wed, 15 Feb 2023 11:20:52 -0500 Subject: [PATCH 6/7] Update arduino-lint.yml --- .github/workflows/arduino-lint.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/arduino-lint.yml b/.github/workflows/arduino-lint.yml index ac6fe2d0..28bc2ce2 100644 --- a/.github/workflows/arduino-lint.yml +++ b/.github/workflows/arduino-lint.yml @@ -1,5 +1,7 @@ # Linter for Float Code # https://github.com/marketplace/actions/arduino-arduino-lint-action +name: Float Linter + on: push jobs: lint: @@ -7,7 +9,3 @@ jobs: steps: - uses: actions/checkout@v3 - uses: arduino/arduino-lint-action@v1 - with: - path: ./ - #compliance: strict - recursive: true From 9db25240c15656dce9c0609c800c148165286b45 Mon Sep 17 00:00:00 2001 From: Michael Carlstrom <36806982+InvincibleRMC@users.noreply.github.com> Date: Wed, 15 Feb 2023 11:22:09 -0500 Subject: [PATCH 7/7] Update arduino-lint.yml --- .github/workflows/arduino-lint.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/arduino-lint.yml b/.github/workflows/arduino-lint.yml index 28bc2ce2..fbf76ee2 100644 --- a/.github/workflows/arduino-lint.yml +++ b/.github/workflows/arduino-lint.yml @@ -9,3 +9,5 @@ jobs: steps: - uses: actions/checkout@v3 - uses: arduino/arduino-lint-action@v1 + with: + recursive: true