mirror of
https://github.com/Swatinem/rust-cache.git
synced 2024-11-27 02:06:07 +08:00
parent
6fd3edff69
commit
99229f978c
23
.github/workflows/globbed-directories.yml
vendored
Normal file
23
.github/workflows/globbed-directories.yml
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
name: globbed-directories
|
||||
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
simple:
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
os: [ubuntu-latest]
|
||||
|
||||
name: Test `cargo check/test` on ${{ matrix.os }}
|
||||
runs-on: ${{ matrix.os }}
|
||||
|
||||
env:
|
||||
CARGO_TERM_COLOR: always
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Create folder that will be globbed
|
||||
run: |
|
||||
mkdir -p folder/rust-toolchain
|
||||
- uses: ./
|
@ -141,6 +141,7 @@ export class CacheConfig {
|
||||
)),
|
||||
);
|
||||
}
|
||||
keyFiles = keyFiles.filter(file => !fs.statSync(file).isDirectory());
|
||||
keyFiles.sort((a, b) => a.localeCompare(b));
|
||||
|
||||
hasher = crypto.createHash("sha1");
|
||||
|
Loading…
Reference in New Issue
Block a user