CI: update outdated actions.
This commit is contained in:
parent
897400ee59
commit
fadc5ae4ca
14
.github/workflows/main.yaml
vendored
14
.github/workflows/main.yaml
vendored
|
@ -18,11 +18,11 @@ jobs:
|
||||||
- 'pypy-3.7-v7.3.3'
|
- 'pypy-3.7-v7.3.3'
|
||||||
steps:
|
steps:
|
||||||
- name: Check out source code
|
- name: Check out source code
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
- name: Set up Python
|
- name: Set up Python
|
||||||
uses: actions/setup-python@v2
|
uses: actions/setup-python@v4
|
||||||
with:
|
with:
|
||||||
python-version: ${{ matrix.python-version }}
|
python-version: ${{ matrix.python-version }}
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
|
@ -35,7 +35,7 @@ jobs:
|
||||||
pip install 'yowasp-yosys==0.20.dev398' # latest version that works on Python 3.7
|
pip install 'yowasp-yosys==0.20.dev398' # latest version that works on Python 3.7
|
||||||
pip install -e .[builtin-yosys]
|
pip install -e .[builtin-yosys]
|
||||||
- name: Preserve Wasm cache
|
- name: Preserve Wasm cache
|
||||||
uses: actions/cache@v1
|
uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
~/.cache/wasmtime
|
~/.cache/wasmtime
|
||||||
|
@ -52,15 +52,17 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Check out source code
|
- name: Check out source code
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
- name: Set up Python
|
- name: Set up Python
|
||||||
uses: actions/setup-python@v2
|
uses: actions/setup-python@v4
|
||||||
|
with:
|
||||||
|
python-version: '3.11'
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
pip install -r docs/requirements.txt
|
pip install -r docs/requirements.txt
|
||||||
pip install -e .
|
pip install .
|
||||||
- name: Build documentation
|
- name: Build documentation
|
||||||
run: |
|
run: |
|
||||||
sphinx-build docs docs/_build
|
sphinx-build docs docs/_build
|
||||||
|
|
Loading…
Reference in a new issue