21 lines
556 B
YAML
21 lines
556 B
YAML
name: GitHub Action for checking typst compilation
|
|
run-name: Performing Typst compilation
|
|
on: [push]
|
|
|
|
jobs:
|
|
run-ci-linux:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Check out repository code
|
|
uses: actions/checkout@v3
|
|
- name: Install dependencies for Nix setup action
|
|
run: |
|
|
apt update -y
|
|
apt install sudo -y
|
|
- name: Setup Nix
|
|
uses: cachix/install-nix-action@v27
|
|
with:
|
|
nix_path: nixpkgs=channel:nixos-unstable
|
|
- name: Run CI
|
|
run: nix-shell --run ./run-ci.sh
|