Files
torana/.github/workflows/main.yml
2023-08-08 01:18:55 +05:30

32 lines
794 B
YAML

name: torana
on: [push, pull_request, workflow_dispatch]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: cachix/install-nix-action@v20
with:
extra_nix_config: |
auto-optimise-store = true
experimental-features = nix-command flakes
- uses: cachix/cachix-action@v12
with:
name: pain
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
- name: fmt checks
run: nix build .#checks.fmt -L
- name: clippy checks
run: nix build .#checks.clippy -L
- name: nextest checks
run: nix build .#checks.nextest -L
- name: doc checks
run: nix build .#checks.doc -L
- name: build
run: nix build .#torana -L