@@ -17,16 +17,17 @@ jobs:
1717 name : Test - ${{ matrix.os }}, ${{ matrix.python-version }}
1818 runs-on : ${{ matrix.os }}
1919 steps :
20- - uses : actions/checkout@v3
20+ - uses : actions/checkout@v4
21+ with :
22+ fetch-depth : 0
2123
2224 - name : Fetch all history and metadata
2325 run : |
24- git fetch --prune --unshallow
2526 git checkout -b pr
2627 git branch -f main origin/main
2728
2829 - name : Set up Python ${{ matrix.python-version }}
29- uses : actions/setup-python@v4
30+ uses : actions/setup-python@v5
3031 with :
3132 python-version : ${{ matrix.python-version }}
3233
@@ -121,11 +122,11 @@ jobs:
121122 needs : [test]
122123 if : ${{ github.repository_owner == 'wpilibsuite' && github.ref == 'refs/heads/main' }}
123124 steps :
124- - uses : actions/checkout@v3
125+ - uses : actions/checkout@v4
125126 with :
126127 fetch-depth : 0
127128
128- - uses : actions/setup-python@v4
129+ - uses : actions/setup-python@v5
129130 with :
130131 python-version : ' 3.10'
131132
@@ -137,7 +138,7 @@ jobs:
137138 working-directory : wpiformat
138139
139140 - name : Upload package to PyPi
140- uses : pypa/gh-action-pypi-publish@v1.4.1
141+ uses : pypa/gh-action-pypi-publish@release/v1
141142 with :
142143 packages_dir : wpiformat/dist
143144 password : ${{ secrets.PYPI_PASSWORD }}
0 commit comments