ci: init flake.lock update / fmt

This commit is contained in:
notohh 2023-10-05 16:53:48 -04:00
parent cff47bc3e6
commit d40aaaf45b
Signed by: notohh
GPG key ID: BD47506D475EE86D
2 changed files with 32 additions and 0 deletions

View file

@ -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

View file

@ -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 .