Merge branch 'main' of git.berlin.ccc.de:cccb/sanic
This commit is contained in:
		
						commit
						755ff32c64
					
				
					 3 changed files with 22 additions and 3 deletions
				
			
		|  | @ -6,6 +6,21 @@ on: | |||
|   workflow_dispatch: | ||||
| 
 | ||||
| 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: | ||||
|     runs-on: docker | ||||
|     container: | ||||
|  |  | |||
|  | @ -1,4 +1,6 @@ | |||
| []() | ||||
| []() | ||||
|  | ||||
| 
 | ||||
| 
 | ||||
| # 🦔 sanic | ||||
| 
 | ||||
|  |  | |||
|  | @ -21,12 +21,14 @@ | |||
|         src = ./.; | ||||
|         modules = ./gomod2nix.toml; | ||||
|       }; | ||||
|     in { | ||||
|     in | ||||
|     { | ||||
|       packages.default = sanic; | ||||
|       formatter = pkgs.nixpkgs-fmt; | ||||
|       devShells.default = pkgs.mkShell { | ||||
|         buildInputs = with pkgs; [ | ||||
|           go | ||||
|           go-tools  # staticcheck | ||||
|           go-tools # staticcheck | ||||
|           gomod2nix.packages.${system}.default | ||||
|           sanic | ||||
|         ]; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue