Use inputs #7
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
# CI/CD workflow for the project. | ||
name: cicd | ||
on: | ||
push: | ||
env: | ||
PYTHON_VERSION: "3.11" | ||
POETRY_VERSION: "1.8.2" | ||
RUNS_ON: "ubuntu-22.04" | ||
jobs: | ||
# Check for linting errors. | ||
lint: | ||
uses: ./.github/workflows/python-make-target.yaml | ||
with: | ||
target: lint | ||
python-version: ${{ env.PYTHON_VERSION }} | ||
Check failure on line 17 in .github/workflows/cicd.yaml GitHub Actions / cicdInvalid workflow file
|
||
poetry-version: ${{ env.POETRY_VERSION }} | ||
runs-on: ${{ env.RUNS_ON }} | ||
# Run the test suite. | ||
test: | ||
uses: ./.github/workflows/python-make-target.yaml | ||
with: | ||
target: test | ||
python-version: ${{ env.PYTHON_VERSION }} | ||
poetry-version: ${{ env.POETRY_VERSION }} | ||
runs-on: ${{ env.RUNS_ON }} |