Skip to content

Commit

Permalink
Merge branch 'dev' into fix-temp-sanction-no-time
Browse files Browse the repository at this point in the history
  • Loading branch information
Arnaud-D authored Feb 11, 2024
2 parents 3eed6a6 + 738f577 commit e005998
Showing 1 changed file with 19 additions and 19 deletions.
38 changes: 19 additions & 19 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,15 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up Python ${{ env.PYTHON_VERSION }}
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: "${{ env.PYTHON_VERSION }}"

- name: Execute pre-commit
uses: pre-commit/[email protected].0
uses: pre-commit/[email protected].1

# Build the documentation and upload it as an artifact.
build-doc:
Expand All @@ -51,10 +51,10 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up Python ${{ env.PYTHON_VERSION }}
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: "${{ env.PYTHON_VERSION }}"

Expand All @@ -66,7 +66,7 @@ jobs:
run: echo "dir=$(pip cache dir)" >> $GITHUB_OUTPUT

- name: Cache pip packages
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ${{ steps.pip-cache.outputs.dir }}
key: ${{ runner.os }}-pip-${{ hashFiles('requirements-dev.txt') }}
Expand All @@ -80,7 +80,7 @@ jobs:
run: make generate-doc

- name: Upload documentation as a page artifact
uses: actions/upload-pages-artifact@v1
uses: actions/upload-pages-artifact@v3
with:
path: doc/build/html

Expand All @@ -94,10 +94,10 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up NodeJS ${{ env.NODE_VERSION }}
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: "${{ env.NODE_VERSION }}"

Expand All @@ -106,7 +106,7 @@ jobs:
run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT

- name: Cache Node modules
uses: actions/cache@v3
uses: actions/cache@v4
id: yarn-cache
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
Expand All @@ -124,7 +124,7 @@ jobs:
run: make build-front

- name: Upload font-end assets for subsequent tests
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: assets
path: dist
Expand Down Expand Up @@ -184,10 +184,10 @@ jobs:
mysql root password: "ci_root_password"

- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Download previously built assets
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: assets
path: dist
Expand All @@ -201,28 +201,28 @@ jobs:
run: echo "dir=$(pip cache dir)" >> $GITHUB_OUTPUT

- name: Cache pip packages
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ${{ steps.pip-cache.outputs.dir }}
key: ${{ runner.os }}-pip-${{ hashFiles('requirements*.txt') }}
restore-keys: |
${{ runner.os }}-pip-
- name: Cache Node modules
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('zmd/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Set up Python ${{ env.PYTHON_VERSION }}
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: "${{ env.PYTHON_VERSION }}"

- name: Set up NodeJS ${{ env.NODE_VERSION }}
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: "${{ env.NODE_VERSION }}"

Expand Down Expand Up @@ -259,7 +259,7 @@ jobs:

steps:
- name: Set up Python ${{ env.PYTHON_VERSION }}
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: "${{ env.PYTHON_VERSION }}"

Expand Down Expand Up @@ -290,4 +290,4 @@ jobs:
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2
uses: actions/deploy-pages@v4

0 comments on commit e005998

Please sign in to comment.