Merge branch 'main' of git.berlin.ccc.de:cccb/sanic

This commit is contained in:
XenGi 2024-01-29 22:09:57 +01:00
commit 755ff32c64
Signed by: xengi
SSH key fingerprint: SHA256:FGp51kRvGOcWnTHiOI39ImwVO4A3fpvR30nPX3LpV7g
3 changed files with 22 additions and 3 deletions

View file

@ -6,6 +6,21 @@ on:
workflow_dispatch: workflow_dispatch:
jobs: jobs:
nix:
runs-on: docker
container:
image: nix
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Nix doctor
run: nix doctor
- name: Check flake
run: nix flake check --all-systems
- name: Build flake
run: nix build --print-out-paths
- name: Flake info
run: nix flake info
tests: tests:
runs-on: docker runs-on: docker
container: container:

View file

@ -1,4 +1,6 @@
[![maintained](https://img.shields.io/maintenance/yes/2024)]() [![maintained](https://img.shields.io/maintenance/yes/2024?style=flat-square)]()
![Gitea Release](https://img.shields.io/gitea/v/release/cccb/sanic?gitea_url=https%3A%2F%2Fgit.berlin.ccc.de&sort=semver&display_name=release&style=flat-square)
# 🦔 sanic # 🦔 sanic

View file

@ -21,8 +21,10 @@
src = ./.; src = ./.;
modules = ./gomod2nix.toml; modules = ./gomod2nix.toml;
}; };
in { in
{
packages.default = sanic; packages.default = sanic;
formatter = pkgs.nixpkgs-fmt;
devShells.default = pkgs.mkShell { devShells.default = pkgs.mkShell {
buildInputs = with pkgs; [ buildInputs = with pkgs; [
go go