-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (30 loc) · 808 Bytes
/
ci.yml
File metadata and controls
39 lines (30 loc) · 808 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: CI
on:
pull_request:
push:
branches: [main]
permissions:
contents: read
jobs:
lint-and-build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
with:
fetch-depth: 0
# - name: Install lychee
# run: |
# curl -sSf '<https://sh.rustup.rs>' | sh
# apt install gcc pkg-config libc6-dev libssl-dev
- uses: astral-sh/setup-uv@v8.1.0
with:
enable-cache: true
cache-dependency-glob: uv.lock
- name: Set up Python
run: uv python install 3.12
- name: Install dependencies
run: uv sync --frozen
# - name: Run pre-commit
# run: uv run pre-commit run --all-files --show-diff-on-failure
- name: Build site
run: uv run zensical build