added nix action

This commit is contained in:
2025-10-26 14:39:51 +01:00
parent d7a387cf45
commit 4025bf9c7f

View File

@@ -2,22 +2,22 @@ name: Docker
on: on:
push: push:
branches: [ "main" ] branches: ["main"]
# paths: # paths:
# - 'Cargo.toml' # - 'Cargo.toml'
pull_request: pull_request:
branches: [ "main" ] branches: ["main"]
env: env:
CARGO_TERM_COLOR: always CARGO_TERM_COLOR: always
jobs: jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- uses: hustcer/setup-nu@v3
- uses: cachix/install-nix-action@v31 - uses: cachix/install-nix-action@v31
with: with:
nix_path: nixpkgs=channel:nixos-unstable nix_path: nixpkgs=channel:nixos-unstable