Skip to content

Merge pull request #38 from deaafrizal/main #17

Merge pull request #38 from deaafrizal/main

Merge pull request #38 from deaafrizal/main #17

Workflow file for this run

name: PlatformIO CI
on:
push:
branches: [ "dev", "rev-0", "rev-1", "main" ]
pull_request:
branches: [ "dev", "rev-0", "rev-1", "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.x"
- name: Cache PlatformIO
uses: actions/cache@v3
with:
path: ~/.platformio
key: ${{ runner.os }}-platformio-${{ hashFiles('**/platformio.ini') }}
restore-keys: |
${{ runner.os }}-platformio-
- name: Install PlatformIO
run: pip install platformio
- name: Build Project
run: platformio run
working-directory: ${{ github.workspace }}