From 2eca3c2c8fd979f2c36e0f8db5ca5ccee55a3f94 Mon Sep 17 00:00:00 2001 From: Carlos Alexandro Becker Date: Mon, 1 Apr 2024 15:46:13 -0300 Subject: [PATCH] build: update generate workflow --- .github/workflows/generate.yml | 7 ++++++- Taskfile.yml | 7 +++++++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/.github/workflows/generate.yml b/.github/workflows/generate.yml index 15ddf8249..abd5d414a 100644 --- a/.github/workflows/generate.yml +++ b/.github/workflows/generate.yml @@ -28,13 +28,18 @@ jobs: - run: task docs:releases env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - uses: cachix/install-nix-action@v26 + with: + github_access_token: ${{ secrets.GITHUB_TOKEN }} - run: task docs:generate - run: task schema:generate - run: task nix:licenses:generate + - run: task nix:flake:update + - run: task nix:flake:update-vendor - run: task schema:validate - uses: stefanzweifel/git-auto-commit-action@8756aa072ef5b4a080af5dc8fef36c5d586e521d # v5 with: - commit_message: "chore: docs auto-update" + commit_message: "chore: auto-update generated files" branch: main commit_user_name: actions-user commit_user_email: actions@github.com diff --git a/Taskfile.yml b/Taskfile.yml index d414a4142..c7eadfcc9 100644 --- a/Taskfile.yml +++ b/Taskfile.yml @@ -75,6 +75,13 @@ tasks: - task: nix:flake:update-vendor - nix build . + nix:flake:update: + desc: update flake.lock + cmds: + - nix flake update + generates: + - flake.lock + nix:flake:update-vendor: desc: update default flake package vendor hash cmds: