matrix-webhook/.github/workflows/lint.yml
dependabot[bot] 8c6ccca8af
build(deps): bump actions/checkout from 3 to 4
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-01 10:55:52 +00:00

18 lines
458 B
YAML

name: Lints
on: [push, pull_request]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: pipx install poetry
- uses: actions/setup-python@v4
with:
python-version: '3.10'
cache: poetry
- run: poetry install --with dev --no-interaction
- run: poetry run black .
- run: poetry run ruff .
- run: poetry run safety check
- run: poetry run poetry check