diff --git a/.github/workflows/check-lint.yaml b/.github/workflows/check-lint.yaml index e06bf540c7..38298f23bc 100644 --- a/.github/workflows/check-lint.yaml +++ b/.github/workflows/check-lint.yaml @@ -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 @@ -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 @@ -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') }} @@ -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 }} diff --git a/.github/workflows/compile.yaml b/.github/workflows/compile.yaml index 3b5444153b..25b47e568c 100644 --- a/.github/workflows/compile.yaml +++ b/.github/workflows/compile.yaml @@ -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 diff --git a/.github/workflows/evm.yaml b/.github/workflows/evm.yaml index 296c513e60..e15bd6dcab 100644 --- a/.github/workflows/evm.yaml +++ b/.github/workflows/evm.yaml @@ -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 @@ -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 @@ -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 @@ -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') }} @@ -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 }} diff --git a/.github/workflows/functionality.yaml b/.github/workflows/functionality.yaml index 5d83ed511d..c2e35d2361 100644 --- a/.github/workflows/functionality.yaml +++ b/.github/workflows/functionality.yaml @@ -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 @@ -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 @@ -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 @@ -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') }} @@ -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 }} diff --git a/.github/workflows/pip-compile.yaml b/.github/workflows/pip-compile.yaml index 44b66cfd73..16b44cdca8 100644 --- a/.github/workflows/pip-compile.yaml +++ b/.github/workflows/pip-compile.yaml @@ -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') }} diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 3bb1e8bb73..f6eb9e3757 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -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') }} @@ -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') }} @@ -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') }} @@ -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