Skip to content

Bump setuptools from 69.5.1 to 70.0.0 #4

Bump setuptools from 69.5.1 to 70.0.0

Bump setuptools from 69.5.1 to 70.0.0 #4

Workflow file for this run

name: Python tests
on: [push]
env:
PYTHON_VERSION: 3.9
POETRY_VERSION: 1.7.1
PROJECT_KEY: thegangtechnology_thai_national_id_smartcard
jobs:
# yes this seems stupid but read https://github.com/orgs/community/discussions/26671
# you can't use env directly in reusable workflow. Seems very arbitary to me though.
get-env:
name: Get Environment vars
runs-on: ubuntu-latest
outputs:
PYTHON_VERSION: ${{ env.PYTHON_VERSION }}
POETRY_VERSION: ${{ env.POETRY_VERSION }}
PROJECT_KEY: ${{ env.PROJECT_KEY }}
steps:
- run: echo "null"
lint:
needs: get-env
uses: thegangtechnology/shared-workflow/.github/workflows/python-lint.yml@main

Check failure on line 25 in .github/workflows/python-tests.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/python-tests.yml

Invalid workflow file

error parsing called workflow ".github/workflows/python-tests.yml" -> "thegangtechnology/shared-workflow/.github/workflows/python-lint.yml@main" : workflow was not found. See https://docs.github.com/actions/learn-github-actions/reusing-workflows#access-to-reusable-workflows for more information.
with:
python-version: ${{ needs.get-env.outputs.PYTHON_VERSION }}
test-and-sonarqube:
needs: get-env
uses: thegangtechnology/shared-workflow/.github/workflows/python-test-sonarqube.yml@main
with:
python-version: ${{ needs.get-env.outputs.PYTHON_VERSION }}
poetry-version: ${{ needs.get-env.outputs.POETRY_VERSION }}
project-key: ${{ needs.get-env.outputs.PROJECT_KEY }}
secrets:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}