Skip to content

Commit

Permalink
Merge pull request #42 from dnv-opensource/update_actions_used_in_git…
Browse files Browse the repository at this point in the history
…hub_workflows

Maintenance: Updated Actions used in GitHub workflows
  • Loading branch information
tomarnepedersen authored Dec 13, 2024
2 parents 95196a4 + 275ed48 commit 31a8121
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/_build_and_publish_documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
fetch-depth: 1
lfs: true
- name: Install Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: '3.11'
cache: 'pip' # cache pip dependencies
Expand Down Expand Up @@ -106,7 +106,7 @@ jobs:

# Publish: Commit gh-pages branch and publish it to GitHub Pages
- name: Publish documentation
uses: peaceiris/actions-gh-pages@v3
uses: peaceiris/actions-gh-pages@v4
with:
publish_branch: gh-pages
github_token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/_build_package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
with:
fetch-depth: 1
lfs: true
- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
python-version: '3.11'
cache: 'pip' # cache pip dependencies
Expand Down Expand Up @@ -41,7 +41,7 @@ jobs:
# with:
# fetch-depth: 1
# lfs: true
# - uses: actions/setup-python@v4
# - uses: actions/setup-python@v5
# with:
# python-version: '3.11'
# cache: 'pip' # cache pip dependencies
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/_code_quality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
name: ruff
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
python-version: '3.11'
cache: 'pip' # cache pip dependencies
Expand All @@ -40,7 +40,7 @@ jobs:
name: pyright
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
python-version: '3.11'
cache: 'pip' # cache pip dependencies
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/_requirements_files.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
python-version: '3.11'
cache: 'pip' # cache pip dependencies
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Install Python ${{ matrix.python.version }}
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python.version }}
cache: 'pip' # cache pip dependencies
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/_test_future.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Install Python ${{ matrix.python.version }}
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python.version }}
cache: 'pip' # cache pip dependencies
Expand Down

0 comments on commit 31a8121

Please sign in to comment.