headjack 0.6.0

Matrix Bot Framework. Jack into Matrix.
Documentation
name: CI

on:
  push:
    branches: ["main"]
  pull_request:
    branches: ["main"]
  workflow_dispatch:

permissions:
  contents: read

jobs:
  ci:
    name: CI
    runs-on: ubuntu-latest
    steps:
      - name: Checkout
        uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
        with:
          persist-credentials: false

      - name: Setup Nix
        uses: arcuru/actions/.github/actions/setup-nix@863120f2dbc739f0b9a66c5c01e85b87d7551ac8 # v0.3.1

      - name: Lint
        run: |
          nix develop -c nix-fast-build --skip-cached --no-nom --no-link \
            -f '.#checks.x86_64-linux.lint'
          nix develop -c nix-fast-build --skip-cached --no-nom --no-link \
            -f '.#checks.x86_64-linux.treefmt'

      - name: Test
        run: |
          nix develop -c nix-fast-build --skip-cached --no-nom --no-link \
            -f '.#checks.x86_64-linux.test'

      - name: Doc
        run: |
          nix develop -c nix-fast-build --skip-cached --no-nom --no-link \
            -f '.#checks.x86_64-linux.doc'

      - name: Build
        run: |
          nix develop -c nix-fast-build --skip-cached --no-nom --no-link \
            -f '.#checks.x86_64-linux.build'