mirror of
https://github.com/dwinkler1/np.git
synced 2026-02-19 22:40:57 -05:00
Update CI
This commit is contained in:
parent
2e8a70ce5f
commit
cdbaf520a4
3 changed files with 9 additions and 9 deletions
8
.github/workflows/check.yml
vendored
8
.github/workflows/check.yml
vendored
|
|
@ -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
|
||||||
|
|
|
||||||
4
.github/workflows/check_macos.yml
vendored
4
.github/workflows/check_macos.yml
vendored
|
|
@ -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
|
||||||
|
|
|
||||||
6
.github/workflows/update.yml
vendored
6
.github/workflows/update.yml
vendored
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue