From 37b218c28d09b26bf5dd4dabdf38f429c2edd034 Mon Sep 17 00:00:00 2001 From: foamyguy Date: Tue, 17 Jun 2025 09:54:59 -0500 Subject: [PATCH] add validate build --- .github/workflows/build.yml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..eb2f16c --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,33 @@ +# SPDX-FileCopyrightText: 2025 Tim Cocks, written for Adafruit Industries +# +# SPDX-License-Identifier: MIT + +name: GitHub Release Actions + +on: [pull_request, push] + +jobs: + validate-build: + runs-on: ubuntu-latest + steps: + - name: Set up requested Python version + uses: actions/setup-python@v5 + with: + python-version: 3.12 + - name: Versions + shell: bash + run: | + python3 --version + - name: Checkout Current Repo + uses: actions/checkout@v4 + with: + submodules: true + show-progress: false + - name: Install reqs + shell: bash + run: | + pip install -r requirements.txt + - name: Build assets + shell: bash + run: | + python build.py