Skip to content

Commit

Permalink
Update GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
TaiSakuma committed Sep 24, 2024
1 parent f530650 commit 583ce8a
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 5 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/pypi.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
name: Upload to PyPI

on:
# release:
# types: [created]
push:
tags:
- 'v*.*.*'
- "v*.*.*"
jobs:
deploy:
runs-on: ubuntu-latest
Expand All @@ -20,7 +18,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.10'
python-version: "3.10"

- name: Install packages
run: |
Expand Down
9 changes: 9 additions & 0 deletions .github/workflows/type-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,14 @@ on:
branches:
- main

concurrency:
group: type-check-${{ github.head_ref }}
cancel-in-progress: true

env:
PYTHONUNBUFFERED: "1"
FORCE_COLOR: "1"

jobs:
run:
runs-on: ubuntu-latest
Expand All @@ -25,6 +33,7 @@ jobs:
pip install --upgrade pip
pip install -e '.[tests]'
pip install --upgrade mypy
pip list
- name: Run mypy
run: mypy --show-traceback nextlinegraphql/ tests/
2 changes: 1 addition & 1 deletion .github/workflows/unit-test-min.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:

- name: Install packages
run: |
pip install --upgrade pip
pip list
pip install -e '.[tests]'
pip install -r ci/minimum/requirements.txt
pip list
Expand Down

0 comments on commit 583ce8a

Please sign in to comment.