Skip to content

Commit

Permalink
updates Node.js actions from node 16 to 20
Browse files Browse the repository at this point in the history
  • Loading branch information
christophkloeffel committed Apr 10, 2024
1 parent c8a287d commit 82f94c6
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 24 deletions.
18 changes: 8 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,49 +10,47 @@ permissions:
contents: read

jobs:

lint:
name: PyLint
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up Python 3.9
uses: actions/setup-python@v3
uses: actions/setup-python@v5
with:
python-version: "3.9"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pylint pycodestyle
pip install --no-deps bmw-lobster-core bmw-lobster-tool-trlc
python -m pip install pylint pycodestyle
python -m pip install --no-deps bmw-lobster-core bmw-lobster-tool-trlc
- name: Style check
run: |
make style
- name: Lint
run: |
make lint -o style
test:
name: Test
strategy:
matrix:
py-version: ["3.8", "3.9", "3.10", "3.11"]
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- uses: supplypike/setup-bin@v3
- uses: actions/checkout@v4
- uses: supplypike/setup-bin@v4
with:
uri: 'https://github.com/cvc5/cvc5/releases/download/cvc5-1.0.8/cvc5-Linux'
name: 'cvc5'
version: '1.0.8'
- name: Set up Python ${{ matrix.py-version }}
uses: actions/setup-python@v3
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.py-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
python -m pip install -r requirements.txt
- name: Executing system tests
run: |
make system-tests
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,16 +29,16 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: supplypike/setup-bin@v3
- uses: supplypike/setup-bin@v4
with:
uri: 'https://github.com/cvc5/cvc5/releases/download/cvc5-1.0.8/cvc5-Linux'
name: 'cvc5'
version: '1.0.8'
- name: Set up Python 3.9
uses: actions/setup-python@v3
uses: actions/setup-python@v5
with:
python-version: "3.9"
- name: Install dependencies
Expand Down Expand Up @@ -66,11 +66,11 @@ jobs:
post_compile: |
mv linter.pdf ../docs
- name: Setup Pages
uses: actions/configure-pages@v3
uses: actions/configure-pages@v5
- name: Upload artifact
uses: actions/upload-pages-artifact@v2
uses: actions/upload-pages-artifact@v3
with:
path: 'docs'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2
uses: actions/deploy-pages@v4
15 changes: 7 additions & 8 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
lint: style
@python3 -m pylint --rcfile=pylint3.cfg \
--reports=no \
--score=no \
trlc trlc*.py lobster-*.py

style:
Expand Down Expand Up @@ -60,23 +59,23 @@ package:
@python3 setup.py sdist bdist_wheel
@python3 setup.py bdist_wheel -p manylinux2014_x86_64

upload_main: package
upload-main: package
python3 -m twine upload --repository pypi dist/*

remove_dev:
remove-dev:
python3 -m util.release

github_release:
github-release:
git push
python3 -m util.github_release
python3 -m util.github-release

bump:
python3 -m util.bump_version_post_release

full_release:
make remove_dev
full-release:
make remove-dev
git push
make github_release
make github-release
make bump
git push

Expand Down

0 comments on commit 82f94c6

Please sign in to comment.