Skip to content

Commit 9073ba0

Browse files
authored
Upgrade GitHub Actions and Python version in workflow
Updated actions versions and Python version in workflow.
1 parent 309bcd6 commit 9073ba0

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

.github/workflows/make_docs.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,12 @@
11
name: make_docs
2-
32
# Controls when the action will run.
43
on:
54
# Triggers the workflow on push or pull request events but only for the main branch
65
push:
76
branches:
87
- main
9-
108
# Allows you to run this workflow manually from the Actions tab
119
workflow_dispatch:
12-
1310
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
1411
jobs:
1512
# This workflow contains a single job called "build"
@@ -20,11 +17,11 @@ jobs:
2017
# Steps represent a sequence of tasks that will be executed as part of the job
2118
steps:
2219
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
23-
- uses: actions/checkout@v2
24-
- uses: actions/setup-python@v2
20+
- uses: actions/checkout@v4
21+
- uses: actions/setup-python@v5
2522
with:
26-
python-version: 3.8
27-
- uses: actions/cache@v2
23+
python-version: '3.12'
24+
- uses: actions/cache@v4
2825
with:
2926
key: ${{ github.ref }}
3027
path: .cache

0 commit comments

Comments
 (0)