nixprstatus/.github/workflows/build.yaml

24 lines
515 B
YAML
Raw Normal View History

2024-10-02 18:08:34 +00:00
name: build
on:
push:
pull_request:
jobs:
build:
runs-on: ubuntu-latest
container:
image: ghcr.io/catthehacker/ubuntu:act-latest
2024-10-02 18:24:52 +00:00
options: --user nobody
2024-10-02 18:08:34 +00:00
steps:
- uses: actions/checkout@v3
2024-10-02 18:14:40 +00:00
- uses: cachix/install-nix-action@v27
2024-10-02 18:24:52 +00:00
with:
extra_nix_config: |
sandbox = true
- run: whoami
2024-10-02 18:08:34 +00:00
- run: nix flake check
- run: nix build
2024-10-02 18:24:52 +00:00
continue-on-error: true
- run: find /homeless-shelter
- run: cat /etc/nix/nix.conf