From 1c5fda6d36ab657aa5720edd225339e7c3ad5c54 Mon Sep 17 00:00:00 2001 From: Folke Date: Sun, 11 Sep 2022 11:35:25 +0200 Subject: [PATCH] Adding 'pio check' to ci --- .github/workflows/build.yml | 5 +++++ .vscode/extensions.json | 19 ++++++++++--------- 2 files changed, 15 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e006737..477b017 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -44,6 +44,11 @@ jobs: fi - name: write-override run: echo -e "[common]\nappversion = ${{ env.RELEASE_VERSION }}" > platformio_override.ini + - name: Run Checks + env: + BUILDNAME: ${{ env.RELEASE_VERSION }} + CI: true + run: pio check -e wthermostat - name: Build Firmware env: BUILDNAME: ${{ env.RELEASE_VERSION }} diff --git a/.vscode/extensions.json b/.vscode/extensions.json index 352dae5..fd8e23f 100644 --- a/.vscode/extensions.json +++ b/.vscode/extensions.json @@ -1,9 +1,10 @@ -{ - // See http://go.microsoft.com/fwlink/?LinkId=827846 - // for the documentation about the extensions.json format - "recommendations": [ - "bierner.github-markdown-preview", - "davidanson.vscode-markdownlint", - "platformio.platformio-ide" - ] -} +{ + // See http://go.microsoft.com/fwlink/?LinkId=827846 + // for the documentation about the extensions.json format + "recommendations": [ + "bierner.github-markdown-preview", + "davidanson.vscode-markdownlint", + "ms-vscode.cpptools-extension-pack", + "platformio.platformio-ide" + ] +}