ci: init flake.lock update / fmt
This commit is contained in:
parent
cff47bc3e6
commit
d40aaaf45b
2 changed files with 32 additions and 0 deletions
|
@ -0,0 +1,21 @@
|
||||||
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
|
schedule:
|
||||||
|
- cron: "0 4 1 * *"
|
||||||
|
jobs:
|
||||||
|
check:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
- name: install nix action
|
||||||
|
uses: https://github.com/DeterminateSystems/nix-installer-action@main
|
||||||
|
with:
|
||||||
|
github-token: ${{ secrets.GH_TOKEN }}
|
||||||
|
- name: update flake.lock
|
||||||
|
uses: DeterminateSystems/update-flake-lock@v20
|
||||||
|
with:
|
||||||
|
pr-title: "flake.lock: Update"
|
||||||
|
pr-labels: |
|
||||||
|
nix
|
||||||
|
dependencies
|
||||||
|
automated
|
|
@ -0,0 +1,11 @@
|
||||||
|
on: [push]
|
||||||
|
jobs:
|
||||||
|
check:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
- name: install nix action
|
||||||
|
uses: https://github.com/DeterminateSystems/nix-installer-action@main
|
||||||
|
with:
|
||||||
|
github-token: ${{ secrets.GH_TOKEN }}
|
||||||
|
- run: nix run nixpkgs#alejandra -- -c .
|
Loading…
Reference in a new issue