fix(ci): use nix container to prevent systemd installer hang in act runner
Core Architecture & Invariant CI / validate (push) Failing after 1s
Core Architecture & Invariant CI / validate (push) Failing after 1s
This commit is contained in:
1 parent
d119ca1ccd
commit
d43848cf3b
1 file changed
+7
-2
@@ -9,12 +9,17 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
validate:
|
validate:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
container:
|
||||||
|
image: nixos/nix:latest
|
||||||
steps:
|
steps:
|
||||||
- name: Check out repository
|
- name: Check out repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Install Nix
|
- name: Configure Git Safe Directory & Nix Flakes
|
||||||
uses: DeterminateSystems/nix-installer-action@main
|
run: |
|
||||||
|
git config --global --add safe.directory "$GITHUB_WORKSPACE"
|
||||||
|
mkdir -p ~/.config/nix
|
||||||
|
echo "experimental-features = nix-command flakes" >> ~/.config/nix/nix.conf
|
||||||
|
|
||||||
- name: Run Architecture & Security Invariant Checks
|
- name: Run Architecture & Security Invariant Checks
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in new issue
Block a user