Skip to content

Commit

Permalink
Update result-cache.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ondrejmirtes committed Jun 18, 2024
1 parent a99c71e commit c97f215
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion website/src/user-guide/result-cache.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,8 @@ Because GitHub Actions do not overwrite existing cache entries with the same key
restore-keys: |
phpstan-result-cache-
# run PHPStan...
- name: "Run PHPStan"
run: "vendor/bin/phpstan"

- name: "Save result cache"
uses: actions/cache/save@v3
Expand All @@ -72,3 +73,5 @@ Because GitHub Actions do not overwrite existing cache entries with the same key
path: tmp # same as in phpstan.neon
key: "phpstan-result-cache-{% raw %}${{ github.run_id }}"{% endraw %}
```

Learn more: [Workflow syntax for GitHub Actions](https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions), [actions/cache](https://github.com/actions/cache)

0 comments on commit c97f215

Please sign in to comment.