diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml deleted file mode 100644 index a585d9a..0000000 --- a/.github/workflows/build.yaml +++ /dev/null @@ -1,17 +0,0 @@ -name: Build - -on: [push, pull_request] - -jobs: - build: - name: Source Distribution and Wheel - 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: - path: dist diff --git a/.github/workflows/check-and-build.yaml b/.github/workflows/check-and-build.yaml new file mode 100644 index 0000000..671dc5b --- /dev/null +++ b/.github/workflows/check-and-build.yaml @@ -0,0 +1,32 @@ +name: Check and Build + +on: [push, pull_request] + +jobs: + codespell: + name: Codespell + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - run: make qa-codespell + + ruff: + name: Python Format and Lint + runs-on: ubuntu-latest + 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 diff --git a/.github/workflows/qa.yaml b/.github/workflows/qa.yaml deleted file mode 100644 index 3987977..0000000 --- a/.github/workflows/qa.yaml +++ /dev/null @@ -1,18 +0,0 @@ -name: Quality Assurance - -on: [push, pull_request] - -jobs: - codespell: - name: Codespell - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - run: make qa-codespell - - ruff: - name: Python Format and Lint - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - run: make qa-ruff