mirror of
https://github.com/pybind/pybind11.git
synced 2026-07-01 20:07:05 +00:00
Bumps the actions group with 3 updates: [actions/checkout](https://github.com/actions/checkout), [astral-sh/setup-uv](https://github.com/astral-sh/setup-uv) and [pypa/cibuildwheel](https://github.com/pypa/cibuildwheel). Updates `actions/checkout` from 6 to 7 - [Release notes](https://github.com/actions/checkout/releases) - [Commits](https://github.com/actions/checkout/compare/v6...v7) Updates `astral-sh/setup-uv` from 8.1.0 to 8.2.0 - [Release notes](https://github.com/astral-sh/setup-uv/releases) - [Commits](https://github.com/astral-sh/setup-uv/compare/v8.1.0...v8.2.0) Updates `pypa/cibuildwheel` from 3.4 to 4.1 - [Release notes](https://github.com/pypa/cibuildwheel/releases) - [Changelog](https://github.com/pypa/cibuildwheel/blob/main/docs/changelog.md) - [Commits](https://github.com/pypa/cibuildwheel/compare/v3.4...v4.1) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '7' dependency-type: direct:production update-type: version-update:semver-major dependency-group: actions - dependency-name: astral-sh/setup-uv dependency-version: 8.2.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: actions - dependency-name: pypa/cibuildwheel dependency-version: '4.1' dependency-type: direct:production update-type: version-update:semver-major dependency-group: actions ... Signed-off-by: dependabot[bot] <support@github.com>
55 lines
1.2 KiB
YAML
55 lines
1.2 KiB
YAML
# This is a format job. Pre-commit has a first-party GitHub action, so we use
|
|
# that: https://github.com/pre-commit/action
|
|
|
|
name: Format
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
pull_request:
|
|
push:
|
|
branches:
|
|
- master
|
|
- stable
|
|
- "v*"
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
env:
|
|
FORCE_COLOR: 3
|
|
# For cmake:
|
|
VERBOSE: 1
|
|
|
|
jobs:
|
|
pre-commit:
|
|
name: Format
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v7
|
|
- uses: actions/setup-python@v6
|
|
with:
|
|
python-version: "3.x"
|
|
- name: Add matchers
|
|
run: echo "::add-matcher::$GITHUB_WORKSPACE/.github/matchers/pylint.json"
|
|
- uses: pre-commit/action@v3.0.1
|
|
|
|
clang-tidy:
|
|
# When making changes here, please also review the "Clang-Tidy" section
|
|
# in .github/CONTRIBUTING.md and update as needed.
|
|
name: Clang-Tidy
|
|
runs-on: ubuntu-latest
|
|
container: silkeh/clang:20
|
|
steps:
|
|
- uses: actions/checkout@v7
|
|
|
|
- name: Install requirements
|
|
run: apt-get update && apt-get install -y git python3-dev python3-pytest ninja-build
|
|
|
|
- name: Configure
|
|
run: cmake --preset tidy
|
|
- name: Build
|
|
run: cmake --build --preset tidy
|
|
|
|
- name: Embedded
|
|
run: cmake --build --preset tidy -t cpptest
|