|
|
@ -3,6 +3,7 @@
|
|
|
|
- [C# - NuGet](#c---nuget)
|
|
|
|
- [C# - NuGet](#c---nuget)
|
|
|
|
- [Elixir - Mix](#elixir---mix)
|
|
|
|
- [Elixir - Mix](#elixir---mix)
|
|
|
|
- [Go - Modules](#go---modules)
|
|
|
|
- [Go - Modules](#go---modules)
|
|
|
|
|
|
|
|
- [Haskell - Cabal](#haskell---cabal)
|
|
|
|
- [Java - Gradle](#java---gradle)
|
|
|
|
- [Java - Gradle](#java---gradle)
|
|
|
|
- [Java - Maven](#java---maven)
|
|
|
|
- [Java - Maven](#java---maven)
|
|
|
|
- [Node - npm](#node---npm)
|
|
|
|
- [Node - npm](#node---npm)
|
|
|
@ -62,6 +63,28 @@ steps:
|
|
|
|
${{ runner.os }}-go-
|
|
|
|
${{ runner.os }}-go-
|
|
|
|
```
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## Haskell - Cabal
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
We cache the elements of the Cabal store separately, as the entirety of `~/.cabal` can grow very large for projects with many dependencies.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
```yaml
|
|
|
|
|
|
|
|
- uses: actions/cache@v1
|
|
|
|
|
|
|
|
name: Cache ~/.cabal/packages
|
|
|
|
|
|
|
|
with:
|
|
|
|
|
|
|
|
path: ~/.cabal/packages
|
|
|
|
|
|
|
|
key: ${{ runner.os }}-${{ matrix.ghc }}-cabal-packages
|
|
|
|
|
|
|
|
- uses: actions/cache@v1
|
|
|
|
|
|
|
|
name: Cache ~/.cabal/store
|
|
|
|
|
|
|
|
with:
|
|
|
|
|
|
|
|
path: ~/.cabal/store
|
|
|
|
|
|
|
|
key: ${{ runner.os }}-${{ matrix.ghc }}-cabal-store
|
|
|
|
|
|
|
|
- uses: actions/cache@v1
|
|
|
|
|
|
|
|
name: Cache dist-newstyle
|
|
|
|
|
|
|
|
with:
|
|
|
|
|
|
|
|
path: dist-newstyle
|
|
|
|
|
|
|
|
key: ${{ runner.os }}-${{ matrix.ghc }}-dist-newstyle
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
## Java - Gradle
|
|
|
|
## Java - Gradle
|
|
|
|
|
|
|
|
|
|
|
|
```yaml
|
|
|
|
```yaml
|
|
|
|