mirror of
https://github.com/versia-pub/activitypub.git
synced 2025-12-06 06:38:20 +01:00
31 lines
708 B
YAML
31 lines
708 B
YAML
name: Nix Flake actions
|
|
|
|
on:
|
|
pull_request:
|
|
push:
|
|
branches:
|
|
- main
|
|
- feat/*
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
check:
|
|
runs-on: ubuntu-latest
|
|
permissions:
|
|
id-token: "write"
|
|
contents: "read"
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: DeterminateSystems/nix-installer-action@main
|
|
with:
|
|
extra-conf: accept-flake-config = true
|
|
- uses: DeterminateSystems/flakehub-cache-action@main
|
|
- uses: DeterminateSystems/flake-checker-action@main
|
|
- name: Build default package
|
|
run: nix build .
|
|
- name: Check flakes
|
|
run: nix flake check
|
|
- name: Build migrations
|
|
run: nix build .#ls-ap-migration
|
|
|