mirror of
https://github.com/josegonzalez/python-github-backup.git
synced 2025-12-26 01:21:11 +01:00
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 4 to 5. - [Release notes](https://github.com/actions/setup-python/releases) - [Commits](https://github.com/actions/setup-python/compare/v4...v5) --- updated-dependencies: - dependency-name: actions/setup-python dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
34 lines
704 B
YAML
34 lines
704 B
YAML
---
|
|
name: "lint"
|
|
|
|
# yamllint disable-line rule:truthy
|
|
on:
|
|
pull_request:
|
|
branches:
|
|
- "*"
|
|
push:
|
|
branches:
|
|
- "main"
|
|
- "master"
|
|
|
|
jobs:
|
|
lint:
|
|
name: lint
|
|
runs-on: ubuntu-22.04
|
|
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v4
|
|
with:
|
|
fetch-depth: 0
|
|
- name: Setup Python
|
|
uses: actions/setup-python@v5
|
|
with:
|
|
python-version: "3.8"
|
|
cache: "pip"
|
|
- run: pip install -r release-requirements.txt && pip install wheel
|
|
- run: flake8 --ignore=E501,E203,W503
|
|
- run: black .
|
|
- run: rst-lint README.rst
|
|
- run: python setup.py sdist bdist_wheel && twine check dist/*
|