Skip to content

chore(deps): update dependency https://github.com/diamondlightsource/… #2

chore(deps): update dependency https://github.com/diamondlightsource/…

chore(deps): update dependency https://github.com/diamondlightsource/… #2

Workflow file for this run

on:
workflow_call:
jobs:
build:
runs-on: "ubuntu-latest"
steps:
- name: Checkout
uses: actions/checkout@v7
with:
# Need this to get version number from last tag
fetch-depth: 0
- name: Install uv
uses: astral-sh/setup-uv@v8.3.2
- name: Build sdist and wheel
run: >
export SOURCE_DATE_EPOCH=$(git log -1 --pretty=%ct) &&
uvx --from build pyproject-build
- name: Upload sdist and wheel as artifacts
<<<<<<< before updating

Check failure on line 24 in .github/workflows/_dist.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/_dist.yml

Invalid workflow file

You have an error in your yaml syntax on line 24
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
=======
uses: actions/upload-artifact@v7
>>>>>>> after updating
with:
name: dist
path: dist
- name: Check for packaging errors
run: uvx twine check --strict dist/*
- name: Install produced wheel
run: python -m pip install dist/*.whl
- name: Test module --version works using the installed wheel
# If more than one module in src/ replace with module name to test
run: python -m $(ls --hide='*.egg-info' src | head -1) --version