Skip to content

Commit

Permalink
WIP: Only run commit check on latest commit
Browse files Browse the repository at this point in the history
  • Loading branch information
laggykiller committed Feb 18, 2024
1 parent 516e3a5 commit d550137
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ name: Update stub
on:
push:

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

jobs:
stubgen:
runs-on: ubuntu-latest
Expand All @@ -18,7 +22,7 @@ jobs:
- uses: actions/setup-python@v5
with:
python-version: '3.8'
- name: Check
- name: Check, update stub and formatting
run: |
pip install build ruff
pip install git+https://github.com/wjakob/nanobind.git@stubgen
Expand Down

0 comments on commit d550137

Please sign in to comment.