CI: WIP
Some checks failed
/ build (push) Failing after 6s
/ test (push) Successful in 6s

This commit is contained in:
phil 2025-02-25 03:12:46 +01:00
parent 22d0a9852c
commit 9f7b090273
2 changed files with 4 additions and 4 deletions

View file

@ -28,13 +28,13 @@ jobs:
run: .venv/bin/pytest -s tests/basic.py
- name: Get version
run: echo "VERSION=$(.venv/bin/dunamai --style semver)" >> $GITHUB_ENV
run: echo "VERSION=$(.venv/bin/dunamai from any --style semver)" >> $GITHUB_ENV
- name: Version
run: echo $VERSION
- name: Get distance from tag
run: echo "DISTANCE=$(.venv/bin/dunamai --format '{distance}')" >> $GITHUB_ENV
run: echo "DISTANCE=$(.venv/bin/dunamai from any --format '{distance}')" >> $GITHUB_ENV
- name: Distance
run: echo $DISTANCE
@ -42,7 +42,7 @@ jobs:
- name: Check if the container should be built (distance from git tag is 0, or force build)
id: builder
env:
RUN: ${{ toJSON(inputs.build || env.DISTANCE == "0" }}
RUN: ${{ toJSON(inputs.build || env.DISTANCE == "0") }}
run: |
echo "run=$RUN" >> $GITHUB_OUTPUT
echo "Run build: $RUN"

View file

@ -19,7 +19,7 @@ jobs:
- name: Install the latest version of uv
uses: astral-sh/setup-uv@v4
with:
version: "0.5.16"
version: "0.6.3"
- name: Install
run: uv sync