aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorFuwn <[email protected]>2024-10-12 05:26:32 -0700
committerFuwn <[email protected]>2024-10-12 05:26:37 -0700
commit8c8abab3557104c36e5dab979b7cb2ee95058ae6 (patch)
treeec6d77405a1fe7186451ab7196c625138f831188 /.github/workflows
parentfeat(packages): yae says bump yae (diff)
downloadtsutsumi-8c8abab3557104c36e5dab979b7cb2ee95058ae6.tar.xz
tsutsumi-8c8abab3557104c36e5dab979b7cb2ee95058ae6.zip
ci(ci): add cache and restrict run to operative files
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/ci.yaml5
1 files changed, 4 insertions, 1 deletions
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml
index d3e7680..0815768 100644
--- a/.github/workflows/ci.yaml
+++ b/.github/workflows/ci.yaml
@@ -2,10 +2,12 @@
name: CI
on:
push:
+ paths: [yae.json, '**/*.nix', '*.lock']
pull_request:
+ paths: [yae.json, '**/*.nix', '*.lock']
workflow_dispatch:
workflow_run:
- workflows: ["Yae Update"]
+ workflows: [Yae Update]
types: [completed]
jobs:
ci:
@@ -13,6 +15,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@main
+ - uses: DeterminateSystems/magic-nix-cache-action@main
- uses: cachix/cachix-action@v14
if: github.ref == 'refs/heads/main'
with: