Skip to content

Commit 66537e1

Browse files
ci
1 parent 0ac2ca7 commit 66537e1

5 files changed

Lines changed: 14 additions & 14 deletions

File tree

.github/actions/generate/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ inputs:
2525
runs:
2626
using: "composite"
2727
steps:
28-
- uses: actions/checkout@v3
28+
- uses: actions/checkout@v4
2929

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

.github/actions/prepare-poetry/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ runs:
2929
python-version: ${{ inputs.python-version }}
3030

3131
- name: Load cached Poetry installation
32-
uses: actions/cache@v3
32+
uses: actions/cache@v4
3333
with:
3434
path: ~/.local # the path depends on the OS
3535
key: poetry-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-0 # increment to reset cache
@@ -43,7 +43,7 @@ runs:
4343

4444
- name: Load cached venv
4545
id: cached-poetry-dependencies
46-
uses: actions/cache@v3
46+
uses: actions/cache@v4
4747
with:
4848
path: .venv
4949
key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}-1

.github/workflows/ci-test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
python-version: ["3.9"] #, "3.10"
2222

2323
steps:
24-
- uses: actions/checkout@v3
24+
- uses: actions/checkout@v4
2525

2626
- name: Generate code from avro-to-python-etp
2727
uses: ./.github/actions/generate
@@ -46,13 +46,13 @@ jobs:
4646

4747
- name: Upload pytest artifacts
4848
if: ${{ always() }}
49-
uses: actions/upload-artifact@v3
49+
uses: actions/upload-artifact@v4
5050
with:
5151
name: Unit Test Results (Python ${{ matrix.python-version }})
5252
path: ${{ env.GENERATED_CODE_FOLDER }}/pytest.xml
5353

5454
- name: Upload coverage to Codecov
55-
uses: codecov/codecov-action@v3
55+
uses: codecov/codecov-action@v5
5656
with:
5757
token: ${{ secrets.CODECOV_TOKEN }}
5858
files: ${{ env.GENERATED_CODE_FOLDER }}/coverage.xml

.github/workflows/pypi-test.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
runs-on: ubuntu-latest
2121

2222
steps:
23-
- uses: actions/checkout@v3
23+
- uses: actions/checkout@v4
2424

2525
- name: Generate code from avro-to-python-etp
2626
uses: ./.github/actions/generate
@@ -50,7 +50,7 @@ jobs:
5050
poetry build
5151
5252
- name: Archive production artifacts
53-
uses: actions/upload-artifact@v3
53+
uses: actions/upload-artifact@v4
5454
with:
5555
name: dist-artifact
5656
retention-days: 1
@@ -67,15 +67,15 @@ jobs:
6767
runs-on: ubuntu-latest
6868

6969
steps:
70-
- uses: actions/checkout@v3
70+
- uses: actions/checkout@v4
7171

7272
- name: Set up Python ${{ env.PYTHON_VERSION }}
7373
uses: actions/setup-python@v4
7474
with:
7575
python-version: ${{ env.PYTHON_VERSION }}
7676

7777
- name: Get build artifacts
78-
uses: actions/download-artifact@v3
78+
uses: actions/download-artifact@v4
7979
with:
8080
name: dist-artifact
8181
path: ${{ env.GENERATED_CODE_FOLDER }}

.github/workflows/release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
runs-on: ubuntu-latest
2121

2222
steps:
23-
- uses: actions/checkout@v3
23+
- uses: actions/checkout@v4
2424

2525
- name: Generate code from avro-to-python-etp
2626
uses: ./.github/actions/generate
@@ -50,7 +50,7 @@ jobs:
5050
poetry build
5151
5252
- name: Archive production artifacts
53-
uses: actions/upload-artifact@v3
53+
uses: actions/upload-artifact@v4
5454
with:
5555
name: dist-artifact
5656
retention-days: 1
@@ -67,15 +67,15 @@ jobs:
6767
runs-on: ubuntu-latest
6868

6969
steps:
70-
- uses: actions/checkout@v3
70+
- uses: actions/checkout@v4
7171

7272
- name: Set up Python ${{ env.PYTHON_VERSION }}
7373
uses: actions/setup-python@v4
7474
with:
7575
python-version: ${{ env.PYTHON_VERSION }}
7676

7777
- name: Get build artifacts
78-
uses: actions/download-artifact@v3
78+
uses: actions/download-artifact@v4
7979
with:
8080
name: dist-artifact
8181
path: ${{ env.GENERATED_CODE_FOLDER }}

0 commit comments

Comments
 (0)