nix-actions/.forgejo/workflows/nix-shell.yaml
Gergely Nagy cd059cf0c5
Some checks are pending
test nix/build / nix/build (push) Waiting to run
test nix/develop / nix/develop (push) Waiting to run
test nix/shell / nix/shell (push) Waiting to run
Shellcheck / shellcheck (push) Waiting to run
nix-shell: Disable a failing test
This test is obsolete, the default environment includes gcc now.

Signed-off-by: Gergely Nagy <me@gergo.csillger.hu>
2025-04-19 13:50:39 +02:00

30 lines
574 B
YAML

---
name: test nix/shell
on:
push:
paths:
- '.forgejo/workflows/nix-shell.yaml'
- 'develop/bin/nix-develop'
- 'shell/**'
jobs:
nix/shell:
runs-on: nixos-latest
steps:
- name: checkout
uses: actions/checkout@v3
- name: run a command within a Nix shell
uses: ./shell
with:
flake: ./shell/test
package: "hello"
run: |
hello
- name: no commands should still work
uses: ./shell
with:
flake: ./shell/test
package: "hello"