Skip to content

Commit

Permalink
use py-version everywhere as vars
Browse files Browse the repository at this point in the history
this'll be easier to maintain

Signed-off-by: kranurag7 <81210977+kranurag7@users.noreply.github.com>
  • Loading branch information
kranurag7 committed Jan 9, 2025
1 parent 7de34b9 commit 14ee71d
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions ggshield.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,11 @@ package:
dependencies:
runtime:
- git
- py3.12-certifi
- python-3.12
- py${{vars.py-version}}-certifi
- python-${{vars.py-version}}

vars:
py-version: 3.12

environment:
contents:
Expand All @@ -21,10 +24,10 @@ environment:
- curl
- openssf-compiler-options
# pinning build and runtime deps to 3.12 because pyinstaller version project is using doesn't work with 3.13 python.
- py3.12-pip
- py3.12-setuptools
- py3.12-wheel
- python-3.12
- py${{vars.py-version}}-pip
- py${{vars.py-version}}-setuptools
- py${{vars.py-version}}-wheel
- python-${{vars.py-version}}
- wolfi-base

pipeline:
Expand Down

0 comments on commit 14ee71d

Please sign in to comment.