mirror of
https://git.madhouse-project.org/actions/nix.git
synced 2025-04-20 09:30:15 +03:00

This test is obsolete, the default environment includes gcc now. Signed-off-by: Gergely Nagy <me@gergo.csillger.hu>
30 lines
574 B
YAML
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"
|