format actions in a more pleasant way
Some checks failed
/ nix fmt (push) Successful in 45s
Update .lock file / flake-update (push) Failing after 1m51s

This commit is contained in:
Ittihadyya 2024-11-26 15:33:42 +02:00
parent 6b043aefa9
commit e5509eaceb
2 changed files with 26 additions and 26 deletions

View file

@ -5,10 +5,10 @@ jobs:
format:
name: "nix fmt"
steps:
- name: Checkout repository
uses: https://git.collective-conciousness.monster/Ittihadyya/checkout@v4
- name: Install Nix
uses: https://git.collective-conciousness.monster/Ittihadyya/nix-actions/install@main
with:
install-url: "https://nixos.org/nix/install"
- run: nix fmt $(find ./ -regex '.*.nix$') -- --check
- name: Checkout repository
uses: https://git.collective-conciousness.monster/Ittihadyya/checkout@v4
- name: Install Nix
uses: https://git.collective-conciousness.monster/Ittihadyya/nix-actions/install@main
with:
install-url: "https://nixos.org/nix/install"
- run: nix fmt $(find ./ -regex '.*.nix$') -- --check

View file

@ -8,25 +8,25 @@ on:
jobs:
flake-update:
steps:
- name: Checkout repository
uses: https://git.collective-conciousness.monster/Ittihadyya/checkout@v4
- name: Install Nix
uses: https://git.collective-conciousness.monster/Ittihadyya/nix-actions/install@main
with:
install-url: "https://nixos.org/nix/install"
- name: Update flake.lock
uses: https://git.collective-conciousness.monster/Ittihadyya/update-flake-lock@v24
with:
commit-msg: "Update flake.lock"
pr-title: "Update flake.lock"
pr-body: |
```
{{ env.GIT_COMMIT_MESSAGE }}
```
- name: Checkout repository
uses: https://git.collective-conciousness.monster/Ittihadyya/checkout@v4
- name: Install Nix
uses: https://git.collective-conciousness.monster/Ittihadyya/nix-actions/install@main
with:
install-url: "https://nixos.org/nix/install"
- name: Update flake.lock
uses: https://git.collective-conciousness.monster/Ittihadyya/update-flake-lock@v24
with:
commit-msg: "Update flake.lock"
pr-title: "Update flake.lock"
pr-body: |
```
{{ env.GIT_COMMIT_MESSAGE }}
```
this is an automated action
pr-labels: |
dependencies
automated
this is an automated action
pr-labels: |
dependencies
automated