Merge pull request #108 from theobori/feature/ci

Added GitHub action step to build the Nix derivation
This commit is contained in:
Benexl
2025-07-29 10:24:26 +03:00
committed by GitHub
4 changed files with 17 additions and 22 deletions

1
.envrc Normal file
View File

@@ -0,0 +1 @@
use flake

View File

@@ -1,11 +1,11 @@
name: debug_build
name: build
on:
workflow_run:
workflows: ["Test Workflow"]
types:
- completed
jobs:
debug_build:
build:
if: ${{ github.event.workflow_run.conclusion == 'success' }}
runs-on: ubuntu-latest
@@ -29,3 +29,15 @@ jobs:
name: fastanime_debug_build
path: |
dist
- name: Install nix
uses: DeterminateSystems/nix-installer-action@main
- name: Use GitHub Action built-in cache
uses: DeterminateSystems/magic-nix-cache-action@main
- name: Nix Flake check (evaluation + tests)
run: nix flake check
- name: Build the nix derivation
run: nix build

3
.gitignore vendored
View File

@@ -136,7 +136,6 @@ celerybeat.pid
# Environments
.env
.envrc
.venv
env/
venv/
@@ -209,3 +208,5 @@ __marimo__/
# custom
repomix-output.xml
.project/
result
.direnv

View File

@@ -1,19 +0,0 @@
let
pkgs = import <nixpkgs> { };
in
pkgs.mkShell {
packages = [
(pkgs.python3.withPackages (python-pkgs: [
python-pkgs.yt-dlp
python-pkgs.dbus-python
python-pkgs.requests
python-pkgs.rich
python-pkgs.click
python-pkgs.inquirerpy
python-pkgs.mpv
python-pkgs.fastapi
python-pkgs.thefuzz
python-pkgs.plyer
]))
];
}