octodns-netbox-dns/.github/workflows/check_code.yml
renovate-bot 922580e64d
All checks were successful
build and publish / update-changelog (pull_request) Successful in 6s
build and publish / release-pypackage (pull_request) Successful in 32s
check code / check-code (pull_request) Successful in 33s
Update actions/checkout action to v4
2024-02-29 20:17:45 +01:00

31 lines
572 B
YAML

name: check code
on:
push:
branches: [main, master, dev]
pull_request:
branches: [main, master, dev]
jobs:
check-code:
runs-on: ubuntu-latest
steps:
- name: checkout code
uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: install hatch
run: pip install -U hatch
- name: test codestyle
run: hatch run lint:style
- name: test typing
run: hatch run lint:typing
- name: run tests
run: hatch run default:test