workflow update

This commit is contained in:
Vojta Mrazek 2024-04-05 11:21:42 +02:00
parent 128b1309a1
commit 77724ad115

View File

@ -17,7 +17,7 @@ jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- name: Set up Python 3.x - name: Set up Python 3.x
uses: actions/setup-python@v4 uses: actions/setup-python@v4
with: with:
@ -44,11 +44,11 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: build needs: build
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- name: Install iverilog - name: Install iverilog
run: sudo apt install iverilog run: sudo apt install iverilog
- name: Set up Python 3.x - name: Set up Python 3.x
uses: actions/setup-python@v4 uses: actions/setup-python@v5
with: with:
# Semantic version range syntax or exact version of a Python version # Semantic version range syntax or exact version of a Python version
python-version: '3.x' python-version: '3.x'
@ -90,9 +90,9 @@ jobs:
python-version: [ '3.7', '3.8', '3.9', '3.10', '3.11' ] python-version: [ '3.7', '3.8', '3.9', '3.10', '3.11' ]
name: Python ${{ matrix.python-version }} test name: Python ${{ matrix.python-version }} test
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- name: Setup python - name: Setup python
uses: actions/setup-python@v4 uses: actions/setup-python@v5
with: with:
python-version: ${{ matrix.python-version }} python-version: ${{ matrix.python-version }}
architecture: x64 architecture: x64
@ -107,9 +107,9 @@ jobs:
needs: test needs: test
if: github.ref == 'refs/heads/main' if: github.ref == 'refs/heads/main'
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- name: Set up Python 3.x - name: Set up Python 3.x
uses: actions/setup-python@v4 uses: actions/setup-python@v5
with: with:
# Semantic version range syntax or exact version of a Python version # Semantic version range syntax or exact version of a Python version
python-version: '3.x' python-version: '3.x'
@ -123,7 +123,7 @@ jobs:
- name: Generate documentation - name: Generate documentation
run: pdoc --html ariths_gen run: pdoc --html ariths_gen
- name: Upload results - name: Upload results
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v4
with: with:
name: documentation name: documentation
path: html path: html