Skip to content

Commit

Permalink
Use Namespace (#58)
Browse files Browse the repository at this point in the history
* Run on Namespace.

* Use Lix.

* Use Namespace checkout action.

* Add --no-confirm install option.

* Try using env vars instead.

* Try adding install options.

* Abandon Lix options.
  • Loading branch information
attilaolah authored Jun 15, 2024
1 parent 94a010a commit 6f57881
Showing 1 changed file with 17 additions and 12 deletions.
29 changes: 17 additions & 12 deletions .github/workflows/nix.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,22 @@ on:

jobs:
check:
runs-on: ubuntu-latest
runs-on:
- nscloud-ubuntu-22.04-amd64-2x4-with-cache
- nscloud-cache-size-20gb
- nscloud-git-mirror-5gb

steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install Nix
uses: cachix/install-nix-action@v26
with:
install_url: https://nixos.org/nix/install
extra_nix_config: |
auto-optimise-store = true
experimental-features = nix-command flakes
- name: Check Nix flake
run: nix flake check
- name: Checkout
uses: namespacelabs/nscloud-checkout-action@v2

- name: Install Nix
uses: cachix/install-nix-action@v26
with:
github_access_token: ${{ secrets.GITHUB_TOKEN }}
extra_nix_config: |
auto-optimise-store = true
experimental-features = nix-command flakes
- name: Check Nix flake
run: nix flake check

0 comments on commit 6f57881

Please sign in to comment.