update Github workflows

This commit is contained in:
The MMGen Project 2026-08-17 09:05:14 +00:00
commit b4044c9ac1
Signed by: mmgen
GPG key ID: 3F8B1861E32B7DA2
4 changed files with 18 additions and 12 deletions

View file

@ -1,4 +1,4 @@
name: build
name: Build/Install
on:
push:
@ -21,14 +21,14 @@ jobs:
python-version: ["3.11", "3.12", "3.13", "3.14"]
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
- name: Install Ubuntu package dependencies
run: |
sudo apt-get install libsecp256k1-dev
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
uses: actions/setup-python@v7
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
@ -39,5 +39,5 @@ jobs:
- name: Build and install MMGen Wallet
run: |
python3 -m pip install setuptools build wheel
python3 -m build --no-isolation
python3 -m build --no-isolation --wheel
python3 -m pip install --user --break-system-packages dist/*.whl

View file

@ -1,4 +1,6 @@
name: lint(ruff+pylint+bandit)
name: Check
run-name: Check code with Ruff, Bandit and Pylint static analyzers
on:
push:
@ -47,19 +49,23 @@ jobs:
- name: Check the code with Ruff static analyzer
run: |
ruff check --output-format=github setup.py
ruff check --output-format=github mmgen
ruff check --output-format=github test
ruff check --output-format=github examples
- name: Check code vulnerabilities with Bandit static analyzer
run: |
bandit --silent --recursive --severity-level=all --configfile=pyproject.toml setup.py
bandit --silent --recursive --severity-level=all --configfile=pyproject.toml mmgen
bandit --silent --recursive --severity-level=all --configfile=pyproject.toml examples
- name: Check the code with Pylint static analyzer
env:
PYTHONPATH: .
run: |
pylint setup.py
pylint mmgen
pylint test
pylint --disable=relative-beyond-top-level test/cmdtest_d
pylint examples
- name: Check code vulnerabilities with Bandit static analyzer
run: |
bandit --silent --recursive --severity-level=medium --configfile=pyproject.toml mmgen

View file

@ -205,5 +205,5 @@ Donate:
[ms]: ../../wiki/command-help-seedsplit
[ta]: ../../wiki/Tool-API
[L]: ../../wiki/command-help-tool
[bb]: https://github.com/mmgen/mmgen-wallet/workflows/build/badge.svg
[lb]: https://github.com/mmgen/mmgen-wallet/workflows/lint(ruff+pylint+bandit)/badge.svg
[bb]: https://github.com/mmgen/mmgen-wallet/actions/workflows/build.yaml/badge.svg
[lb]: https://github.com/mmgen/mmgen-wallet/actions/workflows/lint.yaml/badge.svg

View file

@ -1 +1 @@
16.2.dev10
16.2.dev11