Skip to content

Added some cleanup

Added some cleanup #32

Workflow file for this run

#** @file cppcheck.yml
# @brief AG-Panel Project cppcheck github action file.
# @copyright (C) 2023 Andriy Golovnya
# @author Andriy Golovnya (andriy.golovnya@gmail.com)
# Name of the action
name: Cppcheck Check All Configuration
# Controls when the action will run. Triggers the workflow on each push request
on: push
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
main:
name: Main
runs-on: ubuntu-latest
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- name: Git Checkout
uses: actions/checkout@master
# Installs python 3.x
- name: Setup Python
uses: actions/setup-python@master
with:
python-version: '3.x'
# Updates pip and installs platformio
- name: Install Platform IO
run: |
python -m pip install --upgrade pip
pip install -U platformio
# Runs cppcheck on only UNO board configuration to save excution time
- name: Check All
run: pio check -e uno