Skip to content

🎨 Use Field defaults (#2) #22

🎨 Use Field defaults (#2)

🎨 Use Field defaults (#2) #22

Workflow file for this run

name: build
on:
push:
branches: [main]
pull_request:
branches: [main, staging]
jobs:
build:
runs-on: ubuntu-latest
env:
GITHUB_EVENT_NAME: ${{ github.event_name }}
strategy:
fail-fast: false
matrix:
include:
- os: ubuntu-latest
python: "3.12"
- os: ubuntu-latest
python: "3.12"
pip-flags: "--pre"
timeout-minutes: 15
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}
- uses: actions/cache@v3
with:
path: ~/.cache/pre-commit
key: pre-commit-${{ runner.os }}-${{ hashFiles('.pre-commit-config.yaml') }}
- run: pip install "git+https://@github.com/laminlabs/laminci"
- run: nox -s lint
- run: nox -s build