Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions .github/workflows/check-lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
build-wheel:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6

- name: Build wheel with mypycify
id: wheel
Expand Down Expand Up @@ -57,10 +57,10 @@ jobs:
experimental: true

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6

- name: Setup Python 3.13
uses: actions/setup-python@v5
uses: actions/setup-python@v6
with:
python-version: "3.13"
cache: pip
Expand All @@ -75,7 +75,7 @@ jobs:
requirements-dev.txt

- name: Cache .mypy_cache
uses: actions/cache@v4
uses: actions/cache@v5
with:
path: .mypy_cache
key: mypy-cache-${{ runner.os }}-${{ hashFiles('**/*.py', 'pyproject.toml') }}
Expand All @@ -84,14 +84,14 @@ jobs:
run: pip install tox

- name: Cache tox environment
uses: actions/cache@v4
uses: actions/cache@v5
with:
path: .tox
key: ${{ runner.os }}-${{ matrix.job }}-3.13-${{ matrix.architecture }}-${{ hashFiles('pyproject.toml', 'setup.py', 'requirements.in', 'requirements.txt', 'requirements-windows.in', 'requirements-windows.txt', 'requirements-dev.in', 'requirements-dev.txt', 'tox.ini') }}

# Download the wheel artifact built by mypycify
- name: Download wheel
uses: actions/download-artifact@v4
uses: actions/download-artifact@v8
with:
path: .
pattern: ${{ needs.build-wheel.outputs.artifact-name }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/compile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v4
uses: actions/checkout@v6

- name: Build wheel
uses: BobTheBuidler/mypycify@v0.2.6
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/evm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
outputs:
artifact-name: ${{ steps.wheel.outputs.artifact-name }}
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6

- name: Build wheel with mypycify
id: wheel
Expand Down Expand Up @@ -55,10 +55,10 @@ jobs:
job: [evm-byzantium, evm-petersburg, evm-istanbul, evm-latest]

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6

- name: Cache Solidity Installations
uses: actions/cache@v4
uses: actions/cache@v5
with:
path: |
~/.solcx
Expand All @@ -72,7 +72,7 @@ jobs:
run: npm install -g ganache@7.9.2

- name: Set up Python 3.10
uses: actions/setup-python@v4
uses: actions/setup-python@v6
with:
python-version: "3.10"
cache: pip
Expand All @@ -87,7 +87,7 @@ jobs:
requirements-dev.txt

- name: Cache .mypy_cache
uses: actions/cache@v4
uses: actions/cache@v5
with:
path: .mypy_cache
key: mypy-cache-${{ runner.os }}-${{ hashFiles('**/*.py', 'pyproject.toml') }}
Expand All @@ -96,14 +96,14 @@ jobs:
run: pip install tox

- name: Cache tox environment
uses: actions/cache@v4
uses: actions/cache@v5
with:
path: .tox
key: ${{ runner.os }}-${{ matrix.job }}-3.10-${{ matrix.architecture }}-${{ hashFiles('pyproject.toml', 'setup.py', 'requirements.in', 'requirements.txt', 'requirements-windows.in', 'requirements-windows.txt', 'requirements-dev.in', 'requirements-dev.txt', 'tox.ini') }}

# Download the wheel artifact built by mypycify
- name: Download wheel
uses: actions/download-artifact@v4
uses: actions/download-artifact@v8
with:
path: .
name: ${{ needs.build-wheel.outputs.artifact-name }}
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/functionality.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
build-wheel:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6

- name: Build wheel with mypycify
id: wheel
Expand Down Expand Up @@ -51,10 +51,10 @@ jobs:
job: [plugintest, pmtest]

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6

- name: Cache Solidity Installations
uses: actions/cache@v4
uses: actions/cache@v5
with:
path: |
~/.solcx
Expand All @@ -68,7 +68,7 @@ jobs:
run: npm install -g ganache@7.9.2

- name: Set up Python 3.10
uses: actions/setup-python@v4
uses: actions/setup-python@v6
with:
python-version: "3.10"
cache: pip
Expand All @@ -83,7 +83,7 @@ jobs:
requirements-dev.txt

- name: Cache .mypy_cache
uses: actions/cache@v4
uses: actions/cache@v5
with:
path: .mypy_cache
key: mypy-cache-${{ runner.os }}-${{ hashFiles('**/*.py', 'pyproject.toml') }}
Expand All @@ -92,14 +92,14 @@ jobs:
run: pip install tox

- name: Cache tox environment
uses: actions/cache@v4
uses: actions/cache@v5
with:
path: .tox
key: toxenv-${{ runner.os }}-${{ matrix.job }}-3.10-${{ matrix.architecture }}-${{ hashFiles('pyproject.toml', 'setup.py', 'requirements.in', 'requirements.txt', 'requirements-windows.in', 'requirements-windows.txt', 'requirements-dev.in', 'requirements-dev.txt', 'tox.ini') }}

# Download the wheel artifact built by mypycify
- name: Download wheel
uses: actions/download-artifact@v4
uses: actions/download-artifact@v8
with:
path: .
name: ${{ steps.wheel.outputs.artifact-name }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/pip-compile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,18 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
repository: ${{ github.event.pull_request.head.repo.full_name || github.repository }}
ref: ${{ github.head_ref || github.ref_name }} # Check out the PR branch

- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v6
with:
python-version: '3.13'

- name: Cache .mypy_cache
uses: actions/cache@v4
uses: actions/cache@v5
with:
path: .mypy_cache
key: mypy-cache-${{ runner.os }}-${{ hashFiles('**/*.py', 'pyproject.toml') }}
Expand Down
20 changes: 10 additions & 10 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ jobs:
python-version: "3.11"

- name: Cache .mypy_cache
uses: actions/cache@v4
uses: actions/cache@v5
with:
path: .mypy_cache
key: mypy-cache-${{ runner.os }}-${{ hashFiles('**/*.py', 'pyproject.toml') }}
Expand All @@ -93,7 +93,7 @@ jobs:
- name: Restore ccache cache
id: restore-ccache
if: runner.os != 'Windows'
uses: actions/cache/restore@v4
uses: actions/cache/restore@v5
with:
path: ~/.cache/ccache
key: ccache-${{ runner.os }}-${{ hashFiles('setup.py', 'pyproject.toml') }}-${{ hashFiles('**/*.h', '**/*.c', '**/*.py') }}
Expand Down Expand Up @@ -121,14 +121,14 @@ jobs:
run: python -m cibuildwheel --output-dir wheelhouse

- name: Upload wheels
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: ${{ matrix.artifact_name }}
path: wheelhouse/*.whl

- name: Save ccache cache
if: runner.os != 'Windows'
uses: actions/cache/save@v4
uses: actions/cache/save@v5
with:
path: ~/.cache/ccache
key: ccache-${{ runner.os }}-${{ hashFiles('setup.py', 'pyproject.toml') }}-${{ hashFiles('**/*.h', '**/*.c', '**/*.py') }}
Expand Down Expand Up @@ -166,37 +166,37 @@ jobs:
# Download wheels built on each runner
# ----------------------------------------------------
- name: Download manylinux 64-bit wheels
uses: actions/download-artifact@v5
uses: actions/download-artifact@v8
with:
name: "wheels-ubuntu-latest-manylinux-x64"
path: wheelhouse/linux-many-x64

- name: Download manylinux 32-bit wheels
uses: actions/download-artifact@v5
uses: actions/download-artifact@v8
with:
name: "wheels-ubuntu-latest-manylinux-x86"
path: wheelhouse/linux-many-x86

- name: Download musllinux 64-bit wheels
uses: actions/download-artifact@v5
uses: actions/download-artifact@v8
with:
name: "wheels-ubuntu-latest-musllinux-x64"
path: wheelhouse/linux-musl-x64

- name: Download macOS wheels
uses: actions/download-artifact@v5
uses: actions/download-artifact@v8
with:
name: "wheels-macos-latest"
path: wheelhouse/macos

- name: Download Windows 64-bit wheels
uses: actions/download-artifact@v5
uses: actions/download-artifact@v8
with:
name: "wheels-windows-latest-x64"
path: wheelhouse/windows-x64

- name: Download Windows 32-bit wheels
uses: actions/download-artifact@v5
uses: actions/download-artifact@v8
with:
name: "wheels-windows-latest-x86"
path: wheelhouse/windows-x86
Expand Down
Loading