Skip to content

Commit 268effb

Browse files
Merge pull request #219 from valory-xyz/chore/pin-ci-actions-and-os-versions
Chore/pin ci actions and os versions
2 parents ab79780 + 9e8c878 commit 268effb

File tree

7 files changed

+24
-38
lines changed

7 files changed

+24
-38
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ jobs:
1010
runs-on: ${{ matrix.os }}
1111
strategy:
1212
matrix:
13-
os: [ubuntu-latest]
13+
os: [ubuntu-24.04]
1414
python-version: ["3.10"]
1515
steps:
16-
- uses: actions/checkout@master
17-
- uses: actions/setup-python@v3
16+
- uses: actions/checkout@v6
17+
- uses: actions/setup-python@v6
1818
with:
1919
python-version: ${{ matrix.python-version }}
2020
- name: Install dependencies

.github/workflows/workflow.yml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,15 @@ jobs:
1313
runs-on: ${{ matrix.os }}
1414
strategy:
1515
matrix:
16-
os: [ubuntu-latest]
17-
python-version: ["3.10"]
16+
os: [ubuntu-24.04]
17+
python-version: ["3.14"]
1818
timeout-minutes: 30
1919
steps:
20-
- uses: actions/checkout@v2
21-
- uses: actions/setup-python@master
20+
- uses: actions/checkout@v6
21+
- uses: actions/setup-python@v6
2222
with:
2323
python-version: ${{ matrix.python-version }}
24-
- uses: actions/setup-go@v3
24+
- uses: actions/setup-go@v5
2525
with:
2626
go-version: "1.17.7"
2727
- name: Install dependencies
@@ -36,7 +36,7 @@ jobs:
3636
tox -p -e bandit -e safety
3737
- name: Code style check
3838
run: |
39-
tox -p -e black-check -e isort-check -e flake8 -e vulture -e darglint
39+
tox -p -e black-check -e isort-check -e flake8 -e vulture
4040
- name: Static type check
4141
run: tox -e mypy
4242
- name: Pylint
@@ -51,12 +51,12 @@ jobs:
5151
runs-on: ${{ matrix.os }}
5252
strategy:
5353
matrix:
54-
os: [ubuntu-latest, macos-latest, windows-latest]
54+
os: [ubuntu-24.04, macos-15, windows-2025]
5555
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
5656
timeout-minutes: 30
5757
steps:
58-
- uses: actions/checkout@v4
59-
- uses: actions/setup-python@v5
58+
- uses: actions/checkout@v6
59+
- uses: actions/setup-python@v6
6060
with:
6161
python-version: ${{ matrix.python-version }}
6262
- name: Install dependencies
@@ -68,7 +68,7 @@ jobs:
6868
run: |
6969
poetry run pytest tests/unit -v --tb=short -k "not trio" --cov=mech_client --cov-report=term-missing --cov-report=xml --cov-fail-under=100
7070
- name: Upload coverage to Codecov
71-
if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.11'
71+
if: matrix.os == 'ubuntu-24.04' && matrix.python-version == '3.11'
7272
uses: codecov/codecov-action@v4
7373
with:
7474
files: coverage.xml
@@ -83,11 +83,11 @@ jobs:
8383
runs-on: ${{ matrix.os }}
8484
strategy:
8585
matrix:
86-
os: [ubuntu-latest]
86+
os: [ubuntu-24.04]
8787
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
8888
steps:
89-
- uses: actions/checkout@master
90-
- uses: actions/setup-python@v3
89+
- uses: actions/checkout@v6
90+
- uses: actions/setup-python@v6
9191
with:
9292
python-version: ${{ matrix.python-version }}
9393
- name: Install dependencies

CLAUDE.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ poetry install
2020
poetry shell
2121

2222
# Run all linters (REQUIRED before committing)
23-
tox -e black-check,isort-check,flake8,mypy,pylint,bandit,darglint,vulture && tox -e liccheck
23+
tox -e black-check,isort-check,flake8,mypy,pylint,bandit,vulture && tox -e liccheck
2424

2525
# Run tests
2626
poetry run pytest tests/unit/ -k "not trio"
@@ -196,7 +196,7 @@ All CLI commands follow this error handling pattern:
196196

197197
```bash
198198
# Run all linters (REQUIRED before committing)
199-
tox -e black-check,isort-check,flake8,mypy,pylint,bandit,darglint,vulture && tox -e liccheck
199+
tox -e black-check,isort-check,flake8,mypy,pylint,bandit,vulture && tox -e liccheck
200200
```
201201

202202
**Pylint disable comments** acceptable only with justification:

SECURITY.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ The following table shows which versions of `mech-client` are currently being su
88

99
| Version | Supported |
1010
|------------| ------------------ |
11-
| `v0.19.2` | :white_check_mark: |
12-
| `< v0.19.2` | :x: |
11+
| `v0.19.3` | :white_check_mark: |
12+
| `< v0.19.3` | :x: |
1313

1414
## Reporting a Vulnerability
1515

mech_client/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
... )
2323
"""
2424

25-
__version__ = "v0.19.2"
25+
__version__ = "v0.19.3"
2626

2727
# Domain models
2828
from mech_client.domain.tools.models import (

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "mech-client"
3-
version = "v0.19.2"
3+
version = "v0.19.3"
44
description = "Basic client to interact with a mech"
55
authors = ["David Minarsch <david.minarsch@googlemail.com>"]
66
readme = "README.md"

tox.ini

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tox]
2-
envlist = bandit, safety, black, black-check, isort, isort-check, flake8, mypy, pylint, darglint
2+
envlist = bandit, safety, black, black-check, isort, isort-check, flake8, mypy, pylint
33
skip_missing_interpreters = true
44
isolated_build = True
55

@@ -66,7 +66,7 @@ commands =
6666
skipsdist = True
6767
skip_install = True
6868
deps =
69-
mypy==1.4.0
69+
tomte[mypy]==0.6.1
7070
setuptools<=81.0.0
7171
commands =
7272
mypy mech_client/ --disallow-untyped-defs --config-file tox.ini
@@ -91,14 +91,6 @@ deps =
9191
setuptools<=81.0.0
9292
commands = safety check -i 37524 -i 38038 -i 37776 -i 38039 -i 39621 -i 40291 -i 39706 -i 41002 -i 51358 -i 51499 -i 67599 -i 70612 -i 74735 -i 76752 -i 75180 -i 79883 -i 83159
9393

94-
[testenv:darglint]
95-
skipsdist = True
96-
skip_install = True
97-
deps =
98-
tomte[darglint]==0.6.1
99-
setuptools<=81.0.0
100-
allowlist_externals = bash
101-
commands = bash -c "find mech_client -name '*.py' ! -path 'mech_client/nvm_subscription/*' ! -path 'mech_client/helpers/*' | xargs darglint"
10294

10395
[testenv:vulture]
10496
skipsdist = True
@@ -239,12 +231,6 @@ ignore_missing_imports=True
239231
[mypy-operate.*]
240232
ignore_missing_imports=True
241233

242-
[darglint]
243-
docstring_style=sphinx
244-
strictness=short
245-
ignore_regex=async_act|.*nvm_subscription.*|^cli$|^setup$|request|mech_list|tool_list|tool_describe|tool_schema|deposit_native|deposit_token|subscription_purchase|ipfs_upload|ipfs_upload_prompt|ipfs_to_png
246-
ignore=DAR401,DAR402
247-
248234

249235
[testenv:liccheck]
250236
skipsdist = True

0 commit comments

Comments
 (0)