switch to composite action #1
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Reusable build workflow" | |
inputs: | |
# os: | |
# default: "ubuntu-20.04" | |
# description: "Value for 'runs-on'" | |
# required: false | |
# type: string | |
python: | |
default: "3.9" | |
description: "Value for 'python-version'" | |
required: false | |
type: string | |
runs: | |
using: "composite" | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ inputs.python }} | |
- name: Install dependencies | |
run: | | |
pip install poetry | |
poetry install --no-interaction |