mirror of
https://github.com/cve-search/cpe-guesser.git
synced 2024-11-24 07:47:23 +00:00
01621fbbed
Node.js 16 actions are deprecated. actions/checkout@v4 uses Node.js 20
20 lines
371 B
YAML
20 lines
371 B
YAML
name: Black formatting
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
pull_request:
|
|
branches:
|
|
- main
|
|
|
|
jobs:
|
|
black:
|
|
name: Black
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Check Black formatting for Python scripts
|
|
uses: psf/black@stable
|
|
with:
|
|
options: --check --diff --verbose
|
|
src: .
|