Skip to content

Commit ec90ef4

Browse files
authored
update github actions versions and set python 3.10
1 parent 40fd90c commit ec90ef4

2 files changed

Lines changed: 11 additions & 11 deletions

File tree

.github/workflows/pr.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@ jobs:
1010

1111
steps:
1212
# Checkout and build files of a base ref.
13-
- uses: actions/checkout@v2
13+
- uses: actions/checkout@v6
1414
with:
1515
ref: ${{ github.event.pull_request.base.sha }}
1616
- name: Set up Python
17-
uses: actions/setup-python@v2
17+
uses: actions/setup-python@v6
1818
with:
19-
python-version: '3.x'
20-
- uses: actions/cache@v2
19+
python-version: '3.10'
20+
- uses: actions/cache@v5
2121
id: cache-pipenv-base
2222
name: pipenv cache (base)
2323
with:
@@ -42,11 +42,11 @@ jobs:
4242
PELICAN_OUTPUT_PATH: 'output_base'
4343

4444
# Checkout and build files of a head ref.
45-
- uses: actions/checkout@v2
45+
- uses: actions/checkout@v6
4646
with:
4747
ref: ${{ github.event.pull_request.head.sha }}
4848
clean: false # Prevent removing files in 'output_base' folder.
49-
- uses: actions/cache@v2
49+
- uses: actions/cache@v5
5050
id: cache-pipenv-head
5151
name: pipenv cache head
5252
with:
@@ -81,7 +81,7 @@ jobs:
8181

8282
- name: Upload Pages Diff
8383
continue-on-error: true
84-
uses: edunad/actions-image@v1.0.1
84+
uses: edunad/actions-image@v2.0.3
8585
with:
8686
path: './${{ steps.diffpages.outputs.path }}/**/*.jpg'
8787
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/publish.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@ jobs:
1212
runs-on: ubuntu-latest
1313

1414
steps:
15-
- uses: actions/checkout@v3
15+
- uses: actions/checkout@v6
1616
- name: Set up Python
17-
uses: actions/setup-python@v4
17+
uses: actions/setup-python@v6
1818
with:
19-
python-version: '3.x'
20-
- uses: actions/cache@v3
19+
python-version: '3.10'
20+
- uses: actions/cache@v5
2121
id: cache-pipenv
2222
name: pipenv cache
2323
with:

0 commit comments

Comments
 (0)