1
1
mirror of https://github.com/github/semantic.git synced 2024-11-26 09:07:39 +03:00

if this doesn't help, I don't know what will

This commit is contained in:
Patrick Thomson 2020-07-10 10:28:22 -04:00
parent cc1d463d86
commit 4335c643ac

View File

@ -17,13 +17,16 @@ jobs:
- uses: actions/checkout@v2
if: github.event.action == 'opened' || github.event.action == 'synchronize' || github.event.ref == 'refs/heads/master'
- uses: actions/cache@v1
id: cache-cabal
- uses: actions/cache@v2
name: Cache Bazel artifacts
with:
path: .bazel-cache
key: ${{ runner.os }}-bazel-${{ hashFiles('**/*.hs') }}-${{ hashFiles('**/*.{bazel,bzl}') }}-${{ hashFiles('{WORKSPACE,.bazelrc}') }}
path: |
.bazel-cache
tmp/bazel-repo
key: ${{ runner.os }}-bazel-${{ hashFiles('{WORKSPACE,.bazelrc}') }}-${{ hashFiles('**/*.{bazel,bzl}') }}-${{ hashFiles('semantic-*/**/*.hs') }}
restore-keys: |
${{ runner.os }}-bazel-${{ hashFiles('{WORKSPACE,.bazelrc}') }}-${{ hashFiles('**/*.{bazel,bzl}') }}-
${{ runner.os }}-bazel-${{ hashFiles('{WORKSPACE,.bazelrc}') }}-
${{ runner.os }}-bazel-
- name: Build & test