|
@@ -10,7 +10,7 @@ jobs:
|
|
|
run: |
|
|
|
mkdir -p ./pr
|
|
|
echo ${{ github.event.number }} > ./pr/NR
|
|
|
- - uses: actions/upload-artifact@v2
|
|
|
+ - uses: actions/upload-artifact@v4
|
|
|
if: github.event_name == 'pull_request'
|
|
|
with:
|
|
|
name: pr
|
|
@@ -20,7 +20,7 @@ jobs:
|
|
|
#
|
|
|
# We need to fetch more than one commit to be able to access HEAD^2 in case
|
|
|
# of a pull request
|
|
|
- - uses: actions/checkout@v3
|
|
|
+ - uses: actions/checkout@v4
|
|
|
with:
|
|
|
fetch-depth: 10
|
|
|
# In case of a push event, the commit we care about is simply HEAD.
|
|
@@ -46,7 +46,7 @@ jobs:
|
|
|
echo "$(git log --format=%B -n 1 HEAD^2)" >> $GITHUB_ENV
|
|
|
echo "EOF" >> $GITHUB_ENV
|
|
|
echo "PREVIOUS_COMMIT=$(git log --format=%H -n 1 HEAD^2~1)" >> $GITHUB_ENV
|
|
|
- - uses: actions/setup-python@v4
|
|
|
+ - uses: actions/setup-python@v5
|
|
|
with:
|
|
|
python-version: '3.10'
|
|
|
architecture: 'x64'
|
|
@@ -110,10 +110,10 @@ jobs:
|
|
|
PREVIOUS_COMMIT: ${{ needs.setup.outputs.previous_commit }}
|
|
|
PR_NUMBER: ${{ github.event.pull_request.number }}
|
|
|
steps:
|
|
|
- - uses: actions/checkout@v3
|
|
|
+ - uses: actions/checkout@v4
|
|
|
with:
|
|
|
fetch-depth: 10
|
|
|
- - uses: actions/setup-python@v4
|
|
|
+ - uses: actions/setup-python@v5
|
|
|
with:
|
|
|
python-version: '3.10'
|
|
|
architecture: 'x64'
|