Skip to content

Commit 0bd56b6

Browse files
author
Alan Christie
committed
ci: Abandon variables
1 parent 439f69c commit 0bd56b6

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

.github/workflows/build.yaml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,6 @@ name: build
2020
on:
2121
push:
2222

23-
env:
24-
POETRY_VERSION: '1.8.5'
25-
PYTHON_VERSION: '3.12'
26-
2723
jobs:
2824
build:
2925
runs-on: ubuntu-latest
@@ -39,11 +35,10 @@ jobs:
3935
- name: Set up Python
4036
uses: actions/setup-python@v5
4137
with:
42-
python-version: env.PYTHON_VERSION
38+
python-version: '3.12'
4339
- name: Run pre-commit (all files)
4440
run: |
45-
pip install --no-cache-dir poetry==env.POETRY_VERSION
46-
poetry install --no-root --no-directory --with docs
41+
pip install --no-cache-dir poetry=='1.8.5'
4742
poetry run pre-commit run --all-files
4843
- name: Docker build
4944
uses: docker/build-push-action@v6

0 commit comments

Comments
 (0)