Skip to content

Merge pull request #64 from alan-turing-institute/dependabot/pip/urll… #156

Merge pull request #64 from alan-turing-institute/dependabot/pip/urll…

Merge pull request #64 from alan-turing-institute/dependabot/pip/urll… #156

Workflow file for this run

name: Lint
on:
pull_request:
push:
branches: ["main"]
jobs:
lint_python:
name: Lint Python
runs-on: ubuntu-latest
steps:
- name: Check out the repository
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.11
- name: Install Hatch
run: pip install hatch
- name: Lint
run: hatch run lint:all
typing:
name: Typing
runs-on: ubuntu-latest
steps:
- name: Check out the repository
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.11
- name: Install Hatch
run: pip install hatch
- name: Lint
run: hatch run lint:typing
shellcheck:
name: Shellcheck
runs-on: ubuntu-latest
steps:
- name: Check out the repository
uses: actions/checkout@v4
- name: Run ShellCheck
uses: ludeeus/action-shellcheck@2.0.0