Skip to content

Commit

Permalink
Chore update workflow actions
Browse files Browse the repository at this point in the history
  • Loading branch information
kamilkrzyskow committed Feb 4, 2024
1 parent 9467633 commit 79a6e67
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/dev.build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,20 +14,20 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Install Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
# Number of commits to fetch. 0 indicates all history.
# Default: 1
# 0 is needed for the update time plugin to work properly
fetch-depth: 0
- name: Install Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: 3.12
cache: pip
- name: Process Python Cache
id: cache-requirements
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: venv
key: requirements-${{ hashFiles('requirements*.txt') }}
Expand All @@ -43,7 +43,7 @@ jobs:
source venv/bin/activate
python -m unittest discover tests/ -v
- name: Process MkDocs Plugins & Hooks Cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: .cache
key: mkdocs-${{ github.sha }}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/master.build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,20 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Install Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
# Number of commits to fetch. 0 indicates all history.
# Default: 1
# 0 is needed for the update time plugin to work properly
fetch-depth: 0
- name: Install Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: 3.12
cache: pip
- name: Process Python Cache
id: cache-requirements
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: venv
key: requirements-${{ hashFiles('requirements*.txt') }}
Expand All @@ -42,7 +42,7 @@ jobs:
source venv/bin/activate
python -m unittest discover tests/ -v
- name: Process MkDocs Plugins & Hooks Cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: .cache
key: mkdocs-${{ github.sha }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/pull.request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,20 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Install Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
# Number of commits to fetch. 0 indicates all history.
# Default: 1
# 0 is needed for the update time plugin to work properly
fetch-depth: 1
- name: Install Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: 3.12
cache: pip
- name: Process Python Cache
id: cache-requirements
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: venv
key: requirements-${{ hashFiles('requirements*.txt') }}
Expand Down

0 comments on commit 79a6e67

Please sign in to comment.