Skip to content

Commit

Permalink
add subver to actions
Browse files Browse the repository at this point in the history
  • Loading branch information
zxdavb committed Jun 29, 2024
1 parent 0b76569 commit 5ba78d8
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 18 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/check-lint.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
# This workflow will...
# - see: https://docs.astral.sh/ruff/integrations/#github-actions

name: Linting via ruff (check)
name: Linting


on:
Expand Down Expand Up @@ -34,10 +31,10 @@ jobs:
python-version: ["3.12"]

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v4.1.7

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
uses: actions/setup-python@v5.1.0
with:
python-version: ${{ matrix.python-version }}

Expand All @@ -49,4 +46,7 @@ jobs:
- name: Check with ruff
run: ruff check --output-format=github .

- name: Check with ruff (format)
run: ruff format --check .

- run: echo "🍏 This job's status is ${{ job.status }}."
9 changes: 3 additions & 6 deletions .github/workflows/check-test.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
# - see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python

name: Testing via pytest
name: Testing


on:
Expand Down Expand Up @@ -34,10 +31,10 @@ jobs:
python-version: ["3.11", "3.12"]

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v4.1.7

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
uses: actions/setup-python@v5.1.0
with:
python-version: ${{ matrix.python-version }}

Expand Down
9 changes: 3 additions & 6 deletions .github/workflows/check-type.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
# - see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python

name: Typing via mypy
name: Typing


on:
Expand Down Expand Up @@ -34,10 +31,10 @@ jobs:
python-version: ["3.12"]

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v4.1.7

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
uses: actions/setup-python@v5.1.0
with:
python-version: ${{ matrix.python-version }}

Expand Down

0 comments on commit 5ba78d8

Please sign in to comment.