Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,21 @@ permissions:
contents: read
pull-requests: write

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
run-benchmark:
name: Run Performance Benchmark
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- name: Checkout Repository
uses: actions/checkout@v7
with:
fetch-depth: 0
persist-credentials: false

- name: Set Up Python Tooling
uses: ./.github/workflows/setup
Expand Down
16 changes: 13 additions & 3 deletions .github/workflows/code_quality_checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,24 @@ name: Code Quality Checks

on:
pull_request:
push:
branches:
- main

Comment thread
mowi12 marked this conversation as resolved.
permissions:
contents: read

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
lint-python:
name: Lint Python
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Checkout Repository
uses: actions/checkout@v7
with:
persist-credentials: false

- name: Set Up Python Tooling
uses: ./.github/workflows/setup
Expand All @@ -29,9 +33,12 @@ jobs:
type-check-python:
name: Type Check Python
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Checkout Repository
uses: actions/checkout@v7
with:
persist-credentials: false

- name: Set Up Python Tooling
uses: ./.github/workflows/setup
Expand All @@ -42,9 +49,12 @@ jobs:
lint-markdown:
name: Lint Markdown
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Checkout Repository
uses: actions/checkout@v7
with:
persist-credentials: false

- name: Set Up Node.js
uses: actions/setup-node@v6
Expand Down
14 changes: 6 additions & 8 deletions .github/workflows/pr_quality_checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,25 @@ name: PR Quality Checks

on:
pull_request:
push:
branches:
- main

Comment thread
mowi12 marked this conversation as resolved.
permissions:
contents: read

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
lint-pr:
name: Lint PR Commits
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Checkout Repository
uses: actions/checkout@v7
with:
fetch-depth: 0
persist-credentials: false

- name: Set Up Node.js
uses: actions/setup-node@v6
Expand All @@ -34,10 +37,5 @@ jobs:
npm --version
npx commitlint --version

- name: Validate Current Commit (Last Commit)
if: github.event_name == 'push'
run: npx commitlint --config commitlint.config.js --last --verbose

- name: Validate PR Commits
if: github.event_name == 'pull_request'
run: npx commitlint --config commitlint.config.js --from ${{ github.event.pull_request.base.sha }} --to ${{ github.event.pull_request.head.sha }} --verbose
2 changes: 2 additions & 0 deletions .github/workflows/setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ runs:
steps:
- name: Set Up UV
uses: astral-sh/setup-uv@v7
with:
enable-cache: true

- name: Set Up Python
uses: actions/setup-python@v6
Expand Down
Loading