32 lines
794 B
YAML
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 .#torana-fmt -L
|
|
|
|
- name: clippy checks
|
|
run: nix build .#torana-clippy -L
|
|
|
|
- name: nextest checks
|
|
run: nix build .#torana-nextest -L
|
|
|
|
- name: doc checks
|
|
run: nix build .#torana-doc -L
|
|
|
|
- name: build
|
|
run: nix build .#torana -L |