From e5509eaceb91afa34460da3342b3bd56b2093208 Mon Sep 17 00:00:00 2001 From: Ittihadyya Date: Tue, 26 Nov 2024 15:33:42 +0200 Subject: [PATCH] format actions in a more pleasant way --- .forgejo/workflows/check.yaml | 14 +++++----- .forgejo/workflows/flake-update.yaml | 38 ++++++++++++++-------------- 2 files changed, 26 insertions(+), 26 deletions(-) diff --git a/.forgejo/workflows/check.yaml b/.forgejo/workflows/check.yaml index 9858ab6..98a9c8e 100644 --- a/.forgejo/workflows/check.yaml +++ b/.forgejo/workflows/check.yaml @@ -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 \ No newline at end of file + - 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 \ No newline at end of file diff --git a/.forgejo/workflows/flake-update.yaml b/.forgejo/workflows/flake-update.yaml index ec696b2..893a0a2 100644 --- a/.forgejo/workflows/flake-update.yaml +++ b/.forgejo/workflows/flake-update.yaml @@ -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 \ No newline at end of file