@@ -17,16 +17,17 @@ jobs:
17
17
name : Test - ${{ matrix.os }}, ${{ matrix.python-version }}
18
18
runs-on : ${{ matrix.os }}
19
19
steps :
20
- - uses : actions/checkout@v3
20
+ - uses : actions/checkout@v4
21
+ with :
22
+ fetch-depth : 0
21
23
22
24
- name : Fetch all history and metadata
23
25
run : |
24
- git fetch --prune --unshallow
25
26
git checkout -b pr
26
27
git branch -f main origin/main
27
28
28
29
- name : Set up Python ${{ matrix.python-version }}
29
- uses : actions/setup-python@v4
30
+ uses : actions/setup-python@v5
30
31
with :
31
32
python-version : ${{ matrix.python-version }}
32
33
@@ -121,11 +122,11 @@ jobs:
121
122
needs : [test]
122
123
if : ${{ github.repository_owner == 'wpilibsuite' && github.ref == 'refs/heads/main' }}
123
124
steps :
124
- - uses : actions/checkout@v3
125
+ - uses : actions/checkout@v4
125
126
with :
126
127
fetch-depth : 0
127
128
128
- - uses : actions/setup-python@v4
129
+ - uses : actions/setup-python@v5
129
130
with :
130
131
python-version : ' 3.10'
131
132
@@ -137,7 +138,7 @@ jobs:
137
138
working-directory : wpiformat
138
139
139
140
- name : Upload package to PyPi
140
- uses : pypa/gh-action-pypi-publish@v1.4.1
141
+ uses : pypa/gh-action-pypi-publish@release/v1
141
142
with :
142
143
packages_dir : wpiformat/dist
143
144
password : ${{ secrets.PYPI_PASSWORD }}
0 commit comments