From ad1e5c14d7d48388b38e9ed31a06556bf9b54943 Mon Sep 17 00:00:00 2001 From: Fausto Núñez Alberro Date: Sat, 6 Feb 2021 01:18:38 +0100 Subject: Add a workflow to check if PRs are built --- .github/workflows/pr.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/pr.yml (limited to '.github/workflows/pr.yml') diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml new file mode 100644 index 0000000..8625c11 --- /dev/null +++ b/.github/workflows/pr.yml @@ -0,0 +1,22 @@ +on: + pull_request: + branches: + - master +jobs: + run: + runs-on: ubuntu-latest + steps: + - name: Set up Python + uses: actions/setup-python@v1 + with: + python-version: 3.8 + - name: Upgrade pip + run: python -m pip install --upgrade pip + - name: Install pybase16 + run: pip install pybase16-builder + - name: Fetch the repository code + uses: actions/checkout@v2 + - name: Run make build + run: make build + - name: Check if there are changes + run: git diff --exit-code -- cgit v1.2.3