Skip to content

Commit

Permalink
ci: replaced python_version matrix var with `python-version-file: p…
Browse files Browse the repository at this point in the history
…yproject.toml`
ErikBjare committed Dec 6, 2023
1 parent 3d3949a commit 63e1304
Showing 2 changed files with 6 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -17,15 +17,14 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
python_version: [3.9]
steps:
- uses: actions/checkout@v3
with:
submodules: 'recursive'
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python_version }}
python-version-file: pyproject.toml
- name: Install dependencies
shell: bash
run: |
@@ -58,15 +57,14 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
python_version: [3.9]
steps:
- uses: actions/checkout@v3
with:
submodules: 'recursive'
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python_version }}
python-version-file: pyproject.toml
- name: Install dependencies
shell: bash
run: |
4 changes: 4 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -12,11 +12,15 @@ jobs:
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version-file: pyproject.toml
- uses: jpetrucciani/ruff-check@main

format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version-file: pyproject.toml
- uses: psf/black@stable

0 comments on commit 63e1304

Please sign in to comment.