From 5060497be6198bf215bf70bafb3a82219bf5d10f Mon Sep 17 00:00:00 2001 From: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Sun, 26 Jul 2026 07:37:04 +0000 Subject: [PATCH 1/2] Update from copier (2026-07-26T07:37:04) Signed-off-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com> --- .copier-answers.yml | 2 +- .github/workflows/build.yaml | 58 +++++++++++++++++++++++++++++++++++ .github/workflows/copier.yaml | 2 +- 3 files changed, 60 insertions(+), 2 deletions(-) diff --git a/.copier-answers.yml b/.copier-answers.yml index 0850b59..a615183 100644 --- a/.copier-answers.yml +++ b/.copier-answers.yml @@ -1,5 +1,5 @@ # Changes here will be overwritten by Copier -_commit: '4875149' +_commit: c2ea129 _src_path: https://github.com/python-project-templates/base.git add_docs: false add_extension: python diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index e37397d..c3ca6c5 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -31,6 +31,7 @@ jobs: cibuildwheel: - "cp311" steps: +<<<<<<< before updating - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 with: submodules: 'true' @@ -102,3 +103,60 @@ jobs: - name: Test Wheel run: python -m pytest -vvv verible/tests +======= + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + with: + persist-credentials: false + + - uses: actions-ext/python/setup@6e1b91a408ea89f49bc8aff8724f83826f7b5446 + with: + version: ${{ matrix.python-version }} + + - name: Install dependencies + run: make develop + + - name: Lint + run: make lint + + - name: Checks + run: make checks + + - name: Build + run: make build + + - name: Test + run: make coverage + + - name: Upload test results (Python) + uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 + with: + name: test-results-${{ matrix.os }}-${{ matrix.python-version }} + path: junit.xml + if: ${{ always() }} + + - name: Publish Unit Test Results + uses: EnricoMi/publish-unit-test-result-action@d0a4676d0e0b938bc201470d88276b7c74c712b3 # v2.24.0 + with: + files: '**/junit.xml' + + - name: Upload coverage + uses: codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f # v7.0.0 + with: + token: ${{ secrets.CODECOV_TOKEN }} + + - name: Make dist + run: make dist + + - uses: actions-ext/python/test-wheel@6e1b91a408ea89f49bc8aff8724f83826f7b5446 + with: + module: verible + + - uses: actions-ext/python/test-sdist@6e1b91a408ea89f49bc8aff8724f83826f7b5446 + with: + module: verible + + - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 + with: + name: dist-${{matrix.os}} + path: dist +>>>>>>> after updating diff --git a/.github/workflows/copier.yaml b/.github/workflows/copier.yaml index 871b414..a936d5f 100644 --- a/.github/workflows/copier.yaml +++ b/.github/workflows/copier.yaml @@ -12,6 +12,6 @@ jobs: pull-requests: write runs-on: ubuntu-latest steps: - - uses: actions-ext/copier-update@main + - uses: actions-ext/copier-update@378500315a83b5985e175139a55f1fa5ea6dde09 with: token: ${{ secrets.WORKFLOW_TOKEN }} From 0688b48ba11c5ef6cfdc16c1001a8e080e60644c Mon Sep 17 00:00:00 2001 From: Tim Paine <3105306+timkpaine@users.noreply.github.com> Date: Tue, 28 Jul 2026 09:54:37 -0400 Subject: [PATCH 2/2] Update build.yaml --- .github/workflows/build.yaml | 173 ++++++++++++----------------------- 1 file changed, 58 insertions(+), 115 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index c3ca6c5..d67f365 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -31,132 +31,75 @@ jobs: cibuildwheel: - "cp311" steps: -<<<<<<< before updating - - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 - with: - submodules: 'true' - - - name: Setup cache (mac/linux) - uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0 - with: - path: "/home/runner/work/verible-python/verible-python/.ccache" - key: cache-${{ runner.os }}- - restore-keys: cache-${{ runner.os }}- - if: ${{ runner.os != 'Windows' }} - - - name: Setup cache (windows) - uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0 - with: - path: "C:/ProgramData/chocolatey/" - key: cache-${{ runner.os }}- - restore-keys: cache-${{ runner.os }}- - if: ${{ runner.os == 'Windows' }} - - - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6.3.0 - with: - python-version: ${{ matrix.python-version }} - cache: 'pip' - cache-dependency-path: 'pyproject.toml' - - - name: Install dependencies - run: pip install cibuildwheel - - - name: Python Wheel Steps (linux) - run: python -m cibuildwheel --output-dir dist - env: - CIBW_BUILD: "${{ matrix.cibuildwheel }}-manylinux*" - CIBW_ENVIRONMENT_LINUX: CCACHE_DIR="/host/home/runner/work/verible-python/verible-python/.ccache" - CIBW_BUILD_VERBOSITY: 3 - if: ${{ runner.os == 'Linux' }} - - - name: Python Build Steps (mac) - run: python -m cibuildwheel --output-dir dist - env: - CIBW_BUILD: "${{ matrix.cibuildwheel }}-macos*" - CIBW_ENVIRONMENT_MACOS: CCACHE_DIR="/Users/runner/work/verible-python/verible-python/.ccache" MACOSX_DEPLOYMENT_TARGET=11.0 - CIBW_BUILD_VERBOSITY: 3 - if: ${{ matrix.os == 'macos-14' }} - - - name: Python Build Steps (windows) - run: python -m cibuildwheel --output-dir dist - env: - CIBW_BUILD: "${{ matrix.cibuildwheel }}-win_amd64" - if: ${{ matrix.os == 'windows-2022' }} - - - name: Upload Wheel - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 - with: - name: dist-${{ runner.os }}-${{ runner.arch }}-${{ matrix.python-version }} - path: dist/*.whl - - - name: Install wheel (mac/linux) - run: python -m pip install dist/*.whl - if: ${{ runner.os != 'Windows' }} - - - name: Install wheel (windows) - run: python -m pip install -U (Get-ChildItem .\dist\*.whl | Select-Object -Expand FullName) - if: ${{ runner.os == 'Windows' }} - - - name: Install test dependencies - run: python -m pip install pytest rich typer - - - name: Test Wheel - run: python -m pytest -vvv verible/tests -======= - - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 with: persist-credentials: false + submodules: 'true' - - uses: actions-ext/python/setup@6e1b91a408ea89f49bc8aff8724f83826f7b5446 + - name: Setup cache (mac/linux) + uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0 with: - version: ${{ matrix.python-version }} + path: "/home/runner/work/verible-python/verible-python/.ccache" + key: cache-${{ runner.os }}- + restore-keys: cache-${{ runner.os }}- + if: ${{ runner.os != 'Windows' }} - - name: Install dependencies - run: make develop - - - name: Lint - run: make lint - - - name: Checks - run: make checks - - - name: Build - run: make build - - - name: Test - run: make coverage - - - name: Upload test results (Python) - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 + - name: Setup cache (windows) + uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0 with: - name: test-results-${{ matrix.os }}-${{ matrix.python-version }} - path: junit.xml - if: ${{ always() }} + path: "C:/ProgramData/chocolatey/" + key: cache-${{ runner.os }}- + restore-keys: cache-${{ runner.os }}- + if: ${{ runner.os == 'Windows' }} - - name: Publish Unit Test Results - uses: EnricoMi/publish-unit-test-result-action@d0a4676d0e0b938bc201470d88276b7c74c712b3 # v2.24.0 + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6.3.0 with: - files: '**/junit.xml' + python-version: ${{ matrix.python-version }} + cache: 'pip' + cache-dependency-path: 'pyproject.toml' - - name: Upload coverage - uses: codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f # v7.0.0 + - name: Install dependencies + run: pip install cibuildwheel + + - name: Python Wheel Steps (linux) + run: python -m cibuildwheel --output-dir dist + env: + CIBW_BUILD: "${{ matrix.cibuildwheel }}-manylinux*" + CIBW_ENVIRONMENT_LINUX: CCACHE_DIR="/host/home/runner/work/verible-python/verible-python/.ccache" + CIBW_BUILD_VERBOSITY: 3 + if: ${{ runner.os == 'Linux' }} + + - name: Python Build Steps (mac) + run: python -m cibuildwheel --output-dir dist + env: + CIBW_BUILD: "${{ matrix.cibuildwheel }}-macos*" + CIBW_ENVIRONMENT_MACOS: CCACHE_DIR="/Users/runner/work/verible-python/verible-python/.ccache" MACOSX_DEPLOYMENT_TARGET=11.0 + CIBW_BUILD_VERBOSITY: 3 + if: ${{ matrix.os == 'macos-14' }} + + - name: Python Build Steps (windows) + run: python -m cibuildwheel --output-dir dist + env: + CIBW_BUILD: "${{ matrix.cibuildwheel }}-win_amd64" + if: ${{ matrix.os == 'windows-2022' }} + + - name: Upload Wheel + uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 with: - token: ${{ secrets.CODECOV_TOKEN }} + name: dist-${{ runner.os }}-${{ runner.arch }}-${{ matrix.python-version }} + path: dist/*.whl - - name: Make dist - run: make dist + - name: Install wheel (mac/linux) + run: python -m pip install dist/*.whl + if: ${{ runner.os != 'Windows' }} - - uses: actions-ext/python/test-wheel@6e1b91a408ea89f49bc8aff8724f83826f7b5446 - with: - module: verible + - name: Install wheel (windows) + run: python -m pip install -U (Get-ChildItem .\dist\*.whl | Select-Object -Expand FullName) + if: ${{ runner.os == 'Windows' }} - - uses: actions-ext/python/test-sdist@6e1b91a408ea89f49bc8aff8724f83826f7b5446 - with: - module: verible + - name: Install test dependencies + run: python -m pip install pytest rich typer - - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 - with: - name: dist-${{matrix.os}} - path: dist ->>>>>>> after updating + - name: Test Wheel + run: python -m pytest -vvv verible/tests