Skip to content

Actions(deps): Bump actions/setup-python from 6.0.0 to 6.1.0 #431

Actions(deps): Bump actions/setup-python from 6.0.0 to 6.1.0

Actions(deps): Bump actions/setup-python from 6.0.0 to 6.1.0 #431

# Copyright (C) 2022 Sebastian Pipping <[email protected]>
# Licensed under GPL v3 or later
name: Enforce that copies of --help output are in sync
on:
- pull_request
- push
jobs:
run_pre_commit:
name: Check if copies of --help output are in sync
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
- name: Set up Python 3.12
uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # v6.1.0
with:
python-version: 3.12
- name: Install build dependencies
run: |
sudo apt-get install --no-install-recommends -y help2man
- name: Install delete-merged-branches entry point script
run: |-
pip install \
--disable-pip-version-check \
--user \
--no-warn-script-location \
.
echo "PATH=${HOME}/.local/bin:${PATH}" >> "${GITHUB_ENV}"
- name: Check if the man page is in sync with --help output
run: |-
rm git-{delete-merged-branches,dmb}.1 # to enforce a diff for the generator to remove
./sync-manpages-with-help-output.sh
git diff --exit-code -- git-{delete-merged-branches,dmb}.1