surplus/.github/workflows/ci-whatsapp.yml
Mark Joshwel 3f6327a134
Some checks failed
continuous deployment: surplus Documentation / publish surplus Documentation (push) Has been cancelled
continuous deployment: Telegram Bridge / build (push) Has been cancelled
continuous deployment: WhatsApp Bridge / build (push) Has been cancelled
continuous integration: s+ow / check (push) Has been cancelled
continuous integration: Telegram Bridge / check (push) Has been cancelled
continuous integration: WhatsApp Bridge / check (push) Has been cancelled
ci/cd: add build and check workflows
2024-06-19 01:32:54 +08:00

23 lines
545 B
YAML

name: "continuous integration: WhatsApp Bridge"
on:
workflow_dispatch:
push:
paths:
- "src/spow-whatsapp-bridge/**"
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v27
with:
nix_path: nixpkgs=channel:nixos-unstable
github_access_token: ${{ secrets.GITHUB_TOKEN }}
- uses: DeterminateSystems/magic-nix-cache-action@main
- run: |
cd src/spow-whatsapp-bridge
nix develop --command ./check.sh