diff options
| author | Fuwn <[email protected]> | 2024-10-12 05:26:32 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2024-10-12 05:26:37 -0700 |
| commit | 8c8abab3557104c36e5dab979b7cb2ee95058ae6 (patch) | |
| tree | ec6d77405a1fe7186451ab7196c625138f831188 /.github/workflows | |
| parent | feat(packages): yae says bump yae (diff) | |
| download | tsutsumi-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.yaml | 5 |
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: |