Skip to content

Merge pull request #21 from alan-turing-institute/20-fix-token-expiry #34

Merge pull request #21 from alan-turing-institute/20-fix-token-expiry

Merge pull request #21 from alan-turing-institute/20-fix-token-expiry #34

Workflow file for this run

---
name: Lint files
# Run workflow on pushes to matching branches
on: # yamllint disable-line rule:truthy
push:
branches: [main]
pull_request:
branches: [main]
jobs:
lint_markdown:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Lint Markdown
uses: articulate/actions-markdownlint@v1
with:
config: .markdownlint.json
lint_python:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.11
- name: Install hatch
run: pip install hatch
- name: Lint Python
run: hatch run lint:all
lint_yaml:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Lint YAML
uses: karancode/[email protected]
with:
yamllint_strict: true
yamllint_comment: false