feat(gtfs-rt-archiver): add high-frequency cohort archiver with 3s cadence #14561
This file contains hidden or 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 and style checks | |
| on: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| branches: [ main ] | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: ${{ github.ref != 'refs/heads/main' }} | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| with: | |
| fetch-depth: 0 | |
| - uses: actions/setup-python@v2 | |
| with: | |
| python-version: '3.11' | |
| - uses: actions/cache@v3 | |
| with: | |
| path: ~/.cache/pre-commit | |
| key: ${{ runner.os }}-pre-commit-${{ hashFiles('.pre-commit-config.yaml') }} | |
| restore-keys: | | |
| ${{ runner.os }}-pre-commit- | |
| - uses: pre-commit/action@v3.0.0 | |
| with: | |
| extra_args: >- | |
| --from-ref ${{ github.event.pull_request.base.sha || github.event.before }} | |
| --to-ref ${{ github.event.pull_request.head.sha || github.sha }} | |
| - uses: crate-ci/typos@v1.19.0 # Set back to `master` after #967 on the typos repo is fixed | |
| with: | |
| files: ./docs/** | |
| - name: Install Poetry | |
| run: curl -sSL https://install.python-poetry.org | POETRY_VERSION=2.0.1 python - | |
| - name: mypy ci | |
| working-directory: ci | |
| run: | | |
| poetry install | |
| poetry run mypy tasks.py --check-untyped-def |