Compare commits
4 Commits
b5056a4fe8
...
c893edf5b9
Author | SHA1 | Date | |
---|---|---|---|
c893edf5b9 | |||
3e8afe8672 | |||
9c44dbc28f | |||
64061943ed |
1
.github/FUNDING.yml
vendored
1
.github/FUNDING.yml
vendored
@ -1 +0,0 @@
|
|||||||
github: mrcjkb
|
|
50
.github/workflows/check.yml
vendored
Normal file
50
.github/workflows/check.yml
vendored
Normal file
@ -0,0 +1,50 @@
|
|||||||
|
name: Perform checks
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
pull_request:
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
formatting:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- name: Install nix
|
||||||
|
uses: DeterminateSystems/nix-installer-action@main
|
||||||
|
- name: Setup Action cache for nix
|
||||||
|
uses: DeterminateSystems/magic-nix-cache-action@main
|
||||||
|
with:
|
||||||
|
fail-mode: true
|
||||||
|
- name: Check Nix flake inputs
|
||||||
|
uses: DeterminateSystems/flake-checker-action@v4 # This action
|
||||||
|
- name: Run nix fmt
|
||||||
|
run: nix fmt -- --check .
|
||||||
|
|
||||||
|
nix_flake_check:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- name: Install nix
|
||||||
|
uses: DeterminateSystems/nix-installer-action@main
|
||||||
|
- name: Setup Action cache for nix
|
||||||
|
uses: DeterminateSystems/magic-nix-cache-action@main
|
||||||
|
with:
|
||||||
|
fail-mode: true
|
||||||
|
- name: Check Nix flake inputs
|
||||||
|
uses: DeterminateSystems/flake-checker-action@v4 # This action
|
||||||
|
- name: Run nix flake check
|
||||||
|
run: nix flake check
|
||||||
|
|
||||||
|
nix_build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- name: Install nix
|
||||||
|
uses: DeterminateSystems/nix-installer-action@main
|
||||||
|
- name: Check Nix flake inputs
|
||||||
|
uses: DeterminateSystems/flake-checker-action@v4 # This action
|
||||||
|
with:
|
||||||
|
fail-mode: true
|
||||||
|
- name: Build nvim
|
||||||
|
run: nix build .\#default
|
30
.github/workflows/update.yml
vendored
Normal file
30
.github/workflows/update.yml
vendored
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
name: Update `flake.lock`
|
||||||
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
|
schedule:
|
||||||
|
- cron: '0 0 * * 0' # runs weekly on Sunday at 00:00
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
update_lockfile:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout repository
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
- name: Install nix
|
||||||
|
uses: DeterminateSystems/nix-installer-action@main
|
||||||
|
- name: Setup Action cache for nix
|
||||||
|
uses: DeterminateSystems/magic-nix-cache-action@main
|
||||||
|
with:
|
||||||
|
fail-mode: true
|
||||||
|
- name: Update flake.lock
|
||||||
|
uses: DeterminateSystems/update-flake-lock@main
|
||||||
|
with:
|
||||||
|
# inputs: dzgui dzgui-testing # We'll see whether I want to limit the updates to dzgui
|
||||||
|
token: ${{ secrets.GH_TOKEN_FOR_UPDATES }}
|
||||||
|
pr-title: "Update flake.lock"
|
||||||
|
pr-assignees: jiriks74
|
||||||
|
pr-labels: |
|
||||||
|
flake.lock
|
||||||
|
automated
|
||||||
|
- name: Print PR number
|
||||||
|
run: echo Pull request number is ${{ steps.update.outputs.pull-request-number }}.
|
12
flake.lock
generated
12
flake.lock
generated
@ -39,11 +39,11 @@
|
|||||||
"systems": "systems"
|
"systems": "systems"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1726560853,
|
"lastModified": 1731533236,
|
||||||
"narHash": "sha256-X6rJYSESBVr3hBoH0WbKE5KvhPU5bloyZ2L4K60/fPQ=",
|
"narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=",
|
||||||
"owner": "numtide",
|
"owner": "numtide",
|
||||||
"repo": "flake-utils",
|
"repo": "flake-utils",
|
||||||
"rev": "c1dfcf08411b08f6b8615f7d8971a2bfa81d5e8a",
|
"rev": "11707dc2f618dd54ca8739b309ec4fc024de578b",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@ -181,11 +181,11 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs_2": {
|
"nixpkgs_2": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1729413321,
|
"lastModified": 1732521221,
|
||||||
"narHash": "sha256-I4tuhRpZFa6Fu6dcH9Dlo5LlH17peT79vx1y1SpeKt0=",
|
"narHash": "sha256-2ThgXBUXAE1oFsVATK1ZX9IjPcS4nKFOAjhPNKuiMn0=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "1997e4aa514312c1af7e2bda7fad1644e778ff26",
|
"rev": "4633a7c72337ea8fd23a4f2ba3972865e3ec685d",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -81,6 +81,7 @@ with final.pkgs.lib; let
|
|||||||
# ^ UI
|
# ^ UI
|
||||||
|
|
||||||
# language support
|
# language support
|
||||||
|
markdown-preview-nvim
|
||||||
# ^ language support
|
# ^ language support
|
||||||
|
|
||||||
# navigation/editing enhancement plugins
|
# navigation/editing enhancement plugins
|
||||||
|
@ -60,6 +60,8 @@ require('which-key').add({
|
|||||||
end,
|
end,
|
||||||
desc = "trouble: load [w]orkspace"
|
desc = "trouble: load [w]orkspace"
|
||||||
},
|
},
|
||||||
|
|
||||||
|
{ "<leader>lP", "<cmd>MarkdownPreviewToggle<cr>", desc = "Markdown [l] [P]review"},
|
||||||
})
|
})
|
||||||
|
|
||||||
-- Toggle the quickfix list (only opens if it is populated)
|
-- Toggle the quickfix list (only opens if it is populated)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user