-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
33 lines (30 loc) · 814 Bytes
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: 'Setup Python Poetry Just'
description: 'An action to setup Python, Poetry and Just plus install project dependencies.'
author: 'Catriona Bennett'
inputs:
poetry-version:
description: 'The version of poetry to install'
required: false
default: '1.8.3'
python-version:
description: 'The version of python to install'
required: false
default: '3.12'
runs:
using: 'composite'
steps:
- uses: actions/checkout@v4
- uses: abatilo/actions-poetry@v3
with:
poetry-version: ${{ inputs.poetry-version }}
- uses: actions/setup-python@v5
with:
python-version: ${{ inputs.python-version }}
cache: 'poetry'
- uses: extractions/setup-just@v2
- name: install dependencies
run: just install
shell: bash
branding:
icon: 'package'
color: 'blue'