This repository has been archived by the owner on Jun 16, 2024. It is now read-only.
refactor(workstation/kernel): lower background dirty ratio #1537
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Check | |
on: | |
push: | |
paths: | |
- '**.nix' | |
- flake.lock | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
nix-flake: | |
name: Nix flake | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Install QEMU | |
run: | | |
sudo apt update -y | |
sudo apt install -y qemu-user-static | |
- name: Install Nix | |
uses: DeterminateSystems/nix-installer-action@v9 | |
with: | |
extra-conf: | | |
log-lines = 500 | |
extra-platforms = aarch64-linux | |
- name: Set up Magic Nix Cache | |
uses: DeterminateSystems/magic-nix-cache-action@v3 | |
- name: Clone repository | |
uses: actions/checkout@v4 | |
- name: Check Nix flake inputs | |
uses: DeterminateSystems/flake-checker-action@v5 | |
with: | |
fail-mode: true | |
check-outdated: false | |
- name: Check Nix flake outputs | |
run: nix flake check --all-systems --show-trace | |
- name: Check ErrorNoPhone (nix-on-droid) | |
if: always() | |
run: nix build --dry-run --impure --show-trace | |
--option extra-substituters "https://nix-on-droid.cachix.org" | |
--option extra-trusted-public-keys "nix-on-droid.cachix.org-1:56snoMJTXmDRC1Ei24CmKoUqvHJ9XCp+nidK7qkMQrU=" | |
.#nixOnDroidConfigurations.ErrorNoPhone.activationPackage |