Compare commits

..

3 Commits

Author SHA1 Message Date
Rayat
9aa7854ce7 Merge 59284659c6 into 5656298164 2026-02-26 11:33:01 +00:00
Yakiyo
59284659c6 link to windows and linux/macos too 2023-06-15 23:56:00 +06:00
Yakiyo
79aefb1c78 Add example for dart 2023-06-15 23:50:33 +06:00
3 changed files with 297 additions and 5274 deletions

View File

@@ -6,16 +6,19 @@
- [D - DUB](#d---dub)
- [POSIX](#posix)
- [Windows](#windows)
- [Dart](#dart)
- [Linux / Macos](#linux--macos)
- [Windows](#windows-1)
- [Deno](#deno)
- [Linux](#linux)
- [macOS](#macos)
- [Windows](#windows-1)
- [Windows](#windows-2)
- [Elixir - Mix](#elixir---mix)
- [Erlang - Rebar3](#erlang--rebar3)
- [Go - Modules](#go---modules)
- [Linux](#linux-1)
- [macOS](#macos-1)
- [Windows](#windows-2)
- [Windows](#windows-3)
- [Haskell - Cabal](#haskell---cabal)
- [Haskell - Stack](#haskell---stack)
- [Java - Gradle](#java---gradle)
@@ -140,6 +143,26 @@ steps:
restore-keys: |
${{ runner.os }}-dub-
```
## Dart
### Linux / Macos
```yaml
- uses: actions/cache@v3
with:
path: |
~/.pub-cache/
key: ${{ runner.os }}-dart-${{ hashFiles('**/pubspec.lock') }}
```
### Windows
On windows the global package cache is located at `%LOCALAPPDATA%\Pub\Cache` but may vary due to different windows version. Refer to the [docs](https://dart.dev/tools/pub/cmd/pub-get#the-system-package-cache)
```yaml
- uses: actions/cache@v3
with:
path: |
~/AppData/Local/Pub/Cache/
key: ${{ runner.os }}-dart-${{ hashFiles('**/pubspec.lock') }}
```
## Deno

5540
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -29,7 +29,7 @@
"@actions/io": "^2.0.0"
},
"devDependencies": {
"@types/jest": "^30.0.0",
"@types/jest": "^29.5.14",
"@types/nock": "^11.1.0",
"@types/node": "^24.1.0",
"@typescript-eslint/eslint-plugin": "^7.2.0",
@@ -41,7 +41,7 @@
"eslint-plugin-jest": "^27.9.0",
"eslint-plugin-prettier": "^5.5.3",
"eslint-plugin-simple-import-sort": "^12.1.1",
"jest": "^30.2.0",
"jest": "^29.7.0",
"jest-circus": "^29.7.0",
"nock": "^13.2.9",
"prettier": "^3.6.2",