Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 1 addition & 12 deletions .github/workflows/codespell.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,22 +14,11 @@ jobs:

steps:
- uses: actions/checkout@v6
with:
fetch-depth: 0

- name: Setup Python
uses: actions/setup-python@v6
with:
python-version: '3.10'

- name: Cache pip
uses: actions/cache@v4
with:
# this path is specific to Ubuntu
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-
python-version: '3.14'

- name: Install dependencies
run: pip install codespell
Expand Down
23 changes: 2 additions & 21 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ on:
push:
branches:
- main
- development

jobs:
deploy:
Expand All @@ -19,25 +18,13 @@ jobs:
- name: Setup Python
uses: actions/setup-python@v6
with:
python-version: '3.10'
python-version: '3.14'
cache: "pip"

- name: Upgrade pip
run: |
# install pip=>20.1 to use "pip cache dir"
python3 -m pip install --upgrade pip

- name: Get pip cache dir
id: pip-cache
run: echo "::set-output name=dir::$(pip cache dir)"

- name: Cache dependencies
uses: actions/cache@v4
with:
path: ${{ steps.pip-cache.outputs.dir }}
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-

- name: Install dependencies
run: python3 -m pip install -r ./requirements.txt

Expand All @@ -47,12 +34,6 @@ jobs:
GITHUB_BRANCH: 'main'
run: ./deploy_docs_action.sh

- name: Build docs
if: ${{ endsWith(github.ref, 'development') }}
env:
GITHUB_BRANCH: 'development'
run: ./deploy_docs_action.sh

- name: Deploy
uses: peaceiris/actions-gh-pages@v4
with:
Expand Down