Repository navigation
Commit d8e544e
authored
Fix cache key hashing (#153)
This fixes cache key computation to be similar to [what GHA's actions
toolkit](https://github.com/actions/toolkit/blob/0786132e6a1a4451c2d392bbbf481c2b172d4312/packages/glob/src/internal-hash-files.ts#L31-L34)
does, to avoid a certain class of (unlikely but possible) cache key
collision and cache poisoning.1 parent cd7e67c commit d8e544e
2 files changed
Lines changed: 9 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
106 | | - | |
107 | | - | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
108 | 112 | | |
109 | 113 | | |
110 | 114 | | |
| |||
0 commit comments