Skip to content

🎨 Remove duplication of public private nox module (#31) #141

🎨 Remove duplication of public private nox module (#31)

🎨 Remove duplication of public private nox module (#31) #141

Workflow file for this run

name: build
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
env:
GITHUB_EVENT_NAME: ${{ github.event_name }}
strategy:
fail-fast: false
matrix:
python-version: ["3.10"]
timeout-minutes: 10
steps:
- name: Checkout main
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Checkout lndocs
uses: actions/checkout@v3
with:
repository: laminlabs/lndocs
ssh-key: ${{ secrets.READ_LNDOCS }}
path: lndocs
ref: main
- name: Setup Python
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Cache pre-commit
uses: actions/cache@v3
with:
path: |
~/.cache/pre-commit
key: pre-commit-${{ runner.os }}-${{ hashFiles('.pre-commit-config.yaml') }}
- run: |
python -m pip install --upgrade pip
pip install nox
- run: nox -s lint
- run: nox -s build