add signal service, building block for a full gracefull shutdown impl… #76
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: lint | |
on: | |
push: | |
pull_request: | |
types: [ opened, synchronize ] | |
jobs: | |
ruff: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: chartboost/ruff-action@v1 | |
with: | |
args: 'format --check' | |
- uses: chartboost/ruff-action@v1 | |
with: | |
args: 'check' | |
check: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
python-version: [ '3.11' ] | |
name: check ${{ matrix.python-version }} | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v2 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Setup node.js | |
uses: actions/setup-node@v2 | |
with: | |
node-version: '16' | |
- name: Install pyright | |
run: | | |
npm install -g pyright | |
- name: Run pyright | |
run: | | |
pyright | |
- name: Verify No CLRF line endings. | |
run: > | |
! $(find . ! -path "./.git/*" -not -type d -exec file "{}" ";" |& grep -q " CRLF ") |