-
Notifications
You must be signed in to change notification settings - Fork 698
fix: nix
build and nix check
in CI
#6274
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
Merged
Merged
Changes from 10 commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
f836bb5
fix: add missing `tools/config-docs-generator` to `nix` fileset
aldur 5fafb8f
feat: Add CI action to build nix
aldur c1458bd
Merge branch 'develop' into fix/nix_build_and_ci
aldur 385b397
pkgs.darwin.apple_sdk.frameworks are stubs and do nothing
aldur 786e8b3
Switch to using `nix flake check` in CI
aldur f218a6e
Merge branch 'develop' into fix/nix_build_and_ci
aldur 5b1b7da
Fix `nix flake check` command
aldur c4e81fa
Explicitly disable `flakehub`
aldur 4fb187f
Merge branch 'develop' into fix/nix_build_and_ci
aldur ca512f2
Fix concurrency group
aldur 51a7604
Merge branch 'develop' into fix/nix_build_and_ci
aldur File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
name: Check Nix | ||
|
||
on: | ||
merge_group: | ||
types: | ||
- checks_requested | ||
push: | ||
branches: | ||
- master | ||
- develop | ||
- next | ||
paths-ignore: | ||
- "**.md" | ||
- "**.yml" | ||
workflow_dispatch: | ||
pull_request: | ||
types: | ||
- opened | ||
- reopened | ||
- synchronize | ||
|
||
concurrency: | ||
group: nix-${{ github.head_ref || github.ref || github.run_id }} | ||
## Always cancel duplicate jobs | ||
cancel-in-progress: true | ||
|
||
run-name: ${{ github.ref_name }} | ||
|
||
permissions: {} | ||
|
||
jobs: | ||
build-pkg: | ||
name: Check Nix package | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | ||
- uses: DeterminateSystems/determinate-nix-action@d4b23d0b9eeeaeba3648c24d43bcb623dcf75336 # v3.7.0 | ||
- uses: DeterminateSystems/magic-nix-cache-action@e1c1dae8e170ed20fd2e6aaf9979ca2d3905d636 # v12 | ||
with: | ||
use-flakehub: false # Remove error when trying to authenticate without credentials | ||
- run: nix flake check ./contrib/nix |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or 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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.