Compare commits
4 commits
674569cbe3
...
28e6e672b1
Author | SHA1 | Date | |
---|---|---|---|
28e6e672b1 | |||
1fa9707042 | |||
520c0dd2f0 | |||
1fcecb8710 |
2 changed files with 11 additions and 25 deletions
18
.github/workflows/check.yml
vendored
18
.github/workflows/check.yml
vendored
|
@ -6,9 +6,6 @@ on:
|
|||
- ./**.nix
|
||||
- ./flake.lock
|
||||
pull_request:
|
||||
# scheduled runs are run on my own infrastructure
|
||||
# schedule:
|
||||
# - cron: 5 4 * * 5 # At 04:05 on Friday.
|
||||
|
||||
jobs:
|
||||
check:
|
||||
|
@ -18,32 +15,21 @@ jobs:
|
|||
- uses: DeterminateSystems/nix-installer-action@v13
|
||||
with:
|
||||
source-url: "https://install.lix.systems/lix/lix-installer-x86_64-linux"
|
||||
diagnostic-endpoint: ""
|
||||
- uses: DeterminateSystems/magic-nix-cache-action@v7
|
||||
- name: Run `nix flake check`
|
||||
run: |
|
||||
nix flake check --verbose --keep-going
|
||||
nix run nixpkgs#statix -- check .
|
||||
lockfile:
|
||||
runs-on: ubuntu-latest
|
||||
needs: check
|
||||
if: ${{ github.event_name == 'schedule' }} # only run when scheduled
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: DeterminateSystems/nix-installer-action@v13
|
||||
with:
|
||||
source-url: "https://install.lix.systems/lix/lix-installer-x86_64-linux"
|
||||
- uses: DeterminateSystems/update-flake-lock@v23
|
||||
- name: Run `nix flake check`
|
||||
run: nix flake check --verbose --keep-going
|
||||
build-docs:
|
||||
runs-on: ubuntu-latest
|
||||
if: ${{ github.event_name != 'schedule' }} # only run when not scheduled
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: DeterminateSystems/magic-nix-cache-action@v7
|
||||
- uses: DeterminateSystems/nix-installer-action@v13
|
||||
with:
|
||||
source-url: "https://install.lix.systems/lix/lix-installer-x86_64-linux"
|
||||
diagnostic-endpoint: ""
|
||||
- name: Build documentation
|
||||
run: nix build .#docs --print-build-logs
|
||||
- name: Upload artifact
|
||||
|
|
18
flake.lock
generated
18
flake.lock
generated
|
@ -350,11 +350,11 @@
|
|||
},
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1723688146,
|
||||
"narHash": "sha256-sqLwJcHYeWLOeP/XoLwAtYjr01TISlkOfz+NG82pbdg=",
|
||||
"lastModified": 1723938990,
|
||||
"narHash": "sha256-9tUadhnZQbWIiYVXH8ncfGXGvkNq3Hag4RCBEMUk7MI=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "c3d4ac725177c030b1e289015989da2ad9d56af0",
|
||||
"rev": "c42fcfbdfeae23e68fc520f9182dde9f38ad1890",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -383,11 +383,11 @@
|
|||
"treefmt-nix": "treefmt-nix"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1723923888,
|
||||
"narHash": "sha256-w+/PG6KqB8en0x1JH5aMuf0QC78Nfei208EaaaRuYG4=",
|
||||
"lastModified": 1724036242,
|
||||
"narHash": "sha256-/+gGF0tsAg2dF7Ds9Yt9Sne7ETmILKz1QVnDr+T2S2g=",
|
||||
"owner": "nix-community",
|
||||
"repo": "nixvim",
|
||||
"rev": "78fc4be6a830e8dc01f3e66ddbe3243b4bfe8560",
|
||||
"rev": "312db6b6e2d98dd8d22223fe383c7e0b4bab60c6",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -502,11 +502,11 @@
|
|||
},
|
||||
"unstable": {
|
||||
"locked": {
|
||||
"lastModified": 1723637854,
|
||||
"narHash": "sha256-med8+5DSWa2UnOqtdICndjDAEjxr5D7zaIiK4pn0Q7c=",
|
||||
"lastModified": 1723991338,
|
||||
"narHash": "sha256-Grh5PF0+gootJfOJFenTTxDTYPidA3V28dqJ/WV7iis=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "c3aa7b8938b17aebd2deecf7be0636000d62a2b9",
|
||||
"rev": "8a3354191c0d7144db9756a74755672387b702ba",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
Loading…
Add table
Reference in a new issue