Skip to content
This repository has been archived by the owner on May 22, 2024. It is now read-only.

core.c: refine

core.c: refine #16

Workflow file for this run

# SPDX-FileCopyrightText: 2023 Junde Yhi <junde@yhi.moe>
# SPDX-License-Identifier: CC0-1.0
name: PlatformIO
on:
- push
- pull_request
- workflow_dispatch
jobs:
check:
name: Static Code Analysis
runs-on: ubuntu-22.04
steps:
- name: Checkout Source Code
uses: actions/checkout@v3
- name: Set Up Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install PlatformIO Core
run: pip install platformio
- name: Run PlatformIO Check
run: platformio check
test:
name: Unit Testing
runs-on: ubuntu-22.04
steps:
- name: Checkout Source Code
uses: actions/checkout@v3
- name: Set Up Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install PlatformIO Core
run: pip install platformio
- name: Run PlatformIO Test
run: platformio test