Update CI

This commit is contained in:
Daniel Winkler 2025-08-28 21:23:49 +10:00
commit cdbaf520a4
3 changed files with 9 additions and 9 deletions

View file

@ -1,9 +1,9 @@
name: "Test template" name: "Test RDE template"
on: on:
workflow_dispatch: # allows manual triggering workflow_dispatch: # allows manual triggering
push: push:
paths: paths:
- 'templates/n/flake.lock' - 'templates/rde/flake.lock'
concurrency: concurrency:
group: ${{ github.workflow }}-${{ github.ref }} group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true cancel-in-progress: true
@ -22,5 +22,5 @@ jobs:
with: with:
github_access_token: ${{ secrets.GITHUB_TOKEN }} github_access_token: ${{ secrets.GITHUB_TOKEN }}
- uses: DeterminateSystems/magic-nix-cache-action@main - uses: DeterminateSystems/magic-nix-cache-action@main
- run: nix build ./templates/n - run: nix build ./templates/rde
- run: nix flake check ./templates/n - run: nix flake check ./templates/rde

View file

@ -3,7 +3,7 @@ on:
workflow_dispatch: # allows manual triggering workflow_dispatch: # allows manual triggering
push: push:
branches: branches:
- 'update_n' - 'update_rde'
concurrency: concurrency:
group: ${{ github.workflow }}-${{ github.ref }} group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true cancel-in-progress: true
@ -19,4 +19,4 @@ jobs:
with: with:
github_access_token: ${{ secrets.GITHUB_TOKEN }} github_access_token: ${{ secrets.GITHUB_TOKEN }}
- uses: DeterminateSystems/magic-nix-cache-action@main - uses: DeterminateSystems/magic-nix-cache-action@main
- run: nix build ./templates/n - run: nix build ./templates/rde

View file

@ -18,9 +18,9 @@ jobs:
uses: DeterminateSystems/update-flake-lock@v27 uses: DeterminateSystems/update-flake-lock@v27
with: with:
token: ${{ secrets.GH_TOKEN_FOR_UPDATES }} token: ${{ secrets.GH_TOKEN_FOR_UPDATES }}
branch: update_n branch: update_rde
path-to-flake-dir: "templates/n" path-to-flake-dir: "templates/rde"
pr-title: "Update n flake.lock" # Title of PR to be created pr-title: "Update RDE flake.lock" # Title of PR to be created
pr-labels: | # Labels to be set on the PR pr-labels: | # Labels to be set on the PR
dependencies dependencies
automated automated