Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: Set environment NIX_ABORT_ON_WARN=true #191

Merged
merged 3 commits into from
Apr 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 13 additions & 1 deletion .github/workflows/check.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: nix flake check
name: nix flake

on:
push:
Expand All @@ -8,6 +8,18 @@ on:
workflow_dispatch:

jobs:
eval:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: DeterminateSystems/nix-installer-action@main
with:
extra-conf: |
experimental-features = no-url-literals
- run: nix ${{ runner.debug && '--debug' }} flake check --impure --no-build --show-trace
env:
NIX_ABORT_ON_WARN: true

check:
runs-on: ubuntu-22.04
steps:
Expand Down
2 changes: 2 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,8 @@
domain = "invalid";
hostName = "options";
};

system.stateVersion = "23.05";
}
]
++ attrValues self.nixosModules;
Expand Down
2 changes: 1 addition & 1 deletion pkgs/by-name/mcaptcha/frontend-package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "vanilla",
"main": "index.js",
"version": "1.0.0",
"license": "AGPL-3.0",
"license": "AGPL-3.0-or-later",
lorenzleutgeb marked this conversation as resolved.
Show resolved Hide resolved
"scripts": {
"build": "webpack --mode production",
"lint": "yarn run eslint templates",
Expand Down
Loading