File tree Expand file tree Collapse file tree
{{cookiecutter.project_name}}/.github/workflows Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4141 echo "PROJECT_VERSION=${PROJECT_VERSION}" >> $GITHUB_ENV
4242
4343 - name : πͺ Cache pre-commit hooks
44- uses : actions/cache@v3
44+ uses : actions/cache@v4
4545 with :
4646 path : ~/.cache/pre-commit
4747 key : " pre-commit-${{ runner.os }}-python\
Original file line number Diff line number Diff line change 2222
2323 steps :
2424 - name : πΎ Check out repository
25- uses : actions/checkout@v3
25+ uses : actions/checkout@v4
2626
2727 - name : π Fetch full repository history for unit tests
2828 run : git fetch --unshallow
Original file line number Diff line number Diff line change 3131 runs-on : ${{ matrix.os }}-latest
3232 steps :
3333 - name : πΎ Check out repository
34- uses : actions/checkout@v3
34+ uses : actions/checkout@v4
3535
3636 - name : π Fetch full repository history for unit tests
3737 run : git fetch --unshallow
@@ -46,13 +46,15 @@ jobs:
4646 run : poetry run poe test
4747
4848 - name : π Create test summary
49- uses : test-summary/action@v1
49+ uses : test-summary/action@v2
5050 if : success() || failure()
5151 with :
5252 paths : ./.pytest_results.xml
5353
5454 - name : π Upload coverage to Codecov
55- uses : codecov/codecov-action@v3
55+ uses : codecov/codecov-action@v4
56+ env :
57+ CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }}
5658 if : ${{ env.ENABLE_COVERAGE == 'true' }}
5759 with :
5860 fail_ci_if_error : true
Original file line number Diff line number Diff line change 2020 python3 -m pip install --upgrade requests
2121
2222 - name : π Set up Python
23- uses : actions/setup-python@v4
23+ uses : actions/setup-python@v5
2424 id : setuppy
2525 with :
2626 python-version : ${{ "{{" }} inputs.python_version }}
4141 echo "PROJECT_VERSION=${PROJECT_VERSION}" >> $GITHUB_ENV
4242
4343 - name : πͺ Cache pre-commit hooks
44- uses : actions/cache@v3
44+ uses : actions/cache@v4
4545 with :
4646 path : ~/.cache/pre-commit
4747 key : " pre-commit-${{ " {{" }} runner.os }}-python\
Original file line number Diff line number Diff line change 2222
2323 steps :
2424 - name : πΎ Check out repository
25- uses : actions/checkout@v3
25+ uses : actions/checkout@v4
2626
2727 - name : π Set up Python project with Poetry
2828 uses : ./.github/workflows/actions/python-poetry
Original file line number Diff line number Diff line change 3131 runs-on : ${{ "{{" }} matrix.os }}-latest
3232 steps :
3333 - name : πΎ Check out repository
34- uses : actions/checkout@v3
34+ uses : actions/checkout@v4
3535
3636 - name : π Set up Python project with Poetry
3737 uses : ./.github/workflows/actions/python-poetry
@@ -43,13 +43,15 @@ jobs:
4343 run : poetry run poe test
4444
4545 - name : π Create test summary
46- uses : test-summary/action@v1
46+ uses : test-summary/action@v2
4747 if : success() || failure()
4848 with :
4949 paths : ./.pytest_results.xml
5050
5151 - name : π Upload coverage to Codecov
52- uses : codecov/codecov-action@v3
52+ uses : codecov/codecov-action@v4
53+ env :
54+ CODECOV_TOKEN : ${{ "${{" }} secrets.CODECOV_TOKEN }}
5355 if : ${{ "{{" }} env.ENABLE_COVERAGE == 'true' }}
5456 with :
5557 fail_ci_if_error : true
Original file line number Diff line number Diff line change 2525
2626 steps :
2727 - name : πΎ Check out repository
28- uses : actions/checkout@v3
28+ uses : actions/checkout@v4
2929
3030 - name : π Log in to the container registry
3131 uses : docker/login-action@v2.1.0
You canβt perform that action at this time.
0 commit comments