Skip to content

Commit e9efd3a

Browse files
author
Oleg
committed
Use bowtie action instead of manual installation
1 parent 32575c5 commit e9efd3a

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

.github/workflows/build-all.yml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -40,15 +40,13 @@ jobs:
4040
with:
4141
ref: ${{ matrix.revision }}
4242

43-
- name: Install uv
44-
uses: astral-sh/setup-uv@v5
45-
with:
46-
enable-cache: true
47-
4843
- name: Compute implementation name
4944
id: impl
5045
run: echo "name=$(echo '${{ github.repository }}' | awk -F '/' '{print $2}')" >> $GITHUB_OUTPUT
5146

47+
- name: Install bowtie
48+
uses: bowtie-json-schema/bowtie@main
49+
5250
- name: Build
5351
id: build_image
5452
uses: redhat-actions/buildah-build@v2
@@ -69,13 +67,13 @@ jobs:
6967
7068
- name: Smoke Test
7169
run: |
72-
uvx --from 'bowtie-json-schema' --python 3.13 bowtie smoke -i "localhost/${{ steps.build_image.outputs.image-with-tag }}" --format json
73-
uvx --from 'bowtie-json-schema' --python 3.13 bowtie smoke -i "localhost/${{ steps.build_image.outputs.image-with-tag }}" --format markdown >> $GITHUB_STEP_SUMMARY
70+
bowtie smoke -i "localhost/${{ steps.build_image.outputs.image-with-tag }}" --format json
71+
bowtie smoke -i "localhost/${{ steps.build_image.outputs.image-with-tag }}" --format markdown >> $GITHUB_STEP_SUMMARY
7472
7573
- name: Collect current version
7674
id: current-version
7775
run: |
78-
version=$(uvx --from 'bowtie-json-schema' --python 3.13 bowtie info \
76+
version=$(bowtie info \
7977
--implementation "localhost/${{ steps.build_image.outputs.image-with-tag }}" \
8078
--format json | jq -r '.version // empty')
8179
echo "value=${version}" >> $GITHUB_OUTPUT

0 commit comments

Comments
 (0)