Skip to content

documentation and directory improvement. Readme modifications (again) #9

documentation and directory improvement. Readme modifications (again)

documentation and directory improvement. Readme modifications (again) #9

Workflow file for this run

name: Trunk Check
on:
push:
branches: [main, develop]
pull_request:
branches: [main, develop]
jobs:
trunk-check:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 1
- name: Set up Python 3.11
uses: actions/setup-python@v4
with:
python-version: "3.11"
cache: "pip"
- name: Cache Trunk
uses: actions/cache@v3
with:
path: ~/.cache/trunk
key: trunk-${{ runner.os }}-${{ hashFiles('.trunk/trunk.yaml') }}
restore-keys: |
trunk-${{ runner.os }}-
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e ".[dev]"
- name: Trunk Check
uses: trunk-io/trunk-action@v1
with:
check-mode: all
arguments: --github-annotate notice
- name: Run pre-commit checks
run: |
pre-commit run --all-files
- name: Run linters
run: |
make lint