Skip to content

Commit ad2e9a6

Browse files
ci update (#5)
1 parent cb9533a commit ad2e9a6

2 files changed

Lines changed: 8 additions & 3 deletions

File tree

.github/actions/generate/action.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ runs:
2828
- uses: actions/checkout@v4
2929
with:
3030
fetch-depth: 0 # Fetch the entire history to avoid shallow repository issues
31+
ref: ${{ github.ref }}
3132

3233
- name: Download ETP file
3334
run : wget http://geosiris.com/wp-content/uploads/2022/09/etp/${{ inputs.etp-file-name }} -P ${{ github.workspace }}

.github/workflows/pypi-test.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
##
55
name: Build-and-Push-TEST
66

7-
on:
7+
on:
88
push:
99
branches:
1010
- main
@@ -23,7 +23,8 @@ jobs:
2323
- name: 📥 Checkout repository
2424
uses: actions/checkout@v4
2525
with:
26-
fetch-depth: 0 # Fetch the entire history to avoid shallow repository issues
26+
fetch-depth: 0 # Fetch the entire history to avoid shallow repository issues
27+
ref: ${{ github.ref }}
2728

2829
- name: Generate code from avro-to-python-etp
2930
uses: ./.github/actions/generate
@@ -48,7 +49,7 @@ jobs:
4849
- name: 📦 Install poetry
4950
uses: abatilo/actions-poetry@v4
5051
with:
51-
poetry-version: '2.1.1'
52+
poetry-version: "2.1.1"
5253

5354
- name: Python Black
5455
run: |
@@ -59,6 +60,9 @@ jobs:
5960
- name: 📦 Install poetry-dynamic-versioning
6061
run: poetry self add "poetry-dynamic-versioning[plugin]"
6162

63+
- name: Show poetry version
64+
run: poetry version
65+
6266
- name: 📥 Install dependencies
6367
run: poetry install --no-interaction --no-root
6468

0 commit comments

Comments
 (0)