File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ inputs:
2525runs :
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 }}
Original file line number Diff line number Diff line change 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
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
Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 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
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 }}
Original file line number Diff line number Diff line change 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
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 }}
You can’t perform that action at this time.
0 commit comments