Skip to content

Rename example

Rename example #18

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- name: Checkout branch
uses: actions/checkout@v4
- name: Set up pixi
uses: prefix-dev/setup-pixi@ba3bb36eb2066252b2363392b7739741bb777659
- name: pre-commit
run: pixi run pre-commit-run --color=always --show-diff-on-failure
compile:
runs-on: ubuntu-latest
steps:
- name: Checkout branch
uses: actions/checkout@v4
- name: Set up pixi
uses: prefix-dev/setup-pixi@ba3bb36eb2066252b2363392b7739741bb777659
- name: Use local package
run: |
sed -i 's/#import .*/#import "..\/lib.typ": */' template/cv.typ
- name: compile
run: pixi run compile
- uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
with:
path: template/cv.pdf
if-no-files-found: error