Skip to content

Commit

Permalink
CI: combine the qa and build stage into a single workflow
Browse files Browse the repository at this point in the history
This does not have any immediate benefits but allows us to add a publish
stage in the next step that depends on all the qa steps to complete
successfully and use the artifacts generated by the build stage.

Signed-off-by: Leonard Göhrs <l.goehrs@pengutronix.de>
  • Loading branch information
hnez authored and SmithChart committed Apr 24, 2024
1 parent 9894470 commit 110b6b2
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 19 deletions.
18 changes: 0 additions & 18 deletions .github/workflows/build.yaml

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Quality Assurance
name: Check and Build

on: [push, pull_request]

Expand Down Expand Up @@ -26,3 +26,17 @@ jobs:
steps:
- uses: actions/checkout@v4
- run: make qa-ruff

build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
# include tags and full history for setuptools_scm
fetch-depth: 0
- run: make build
- uses: actions/upload-artifact@v4
with:
name: dist
path: dist

0 comments on commit 110b6b2

Please sign in to comment.