Skip to content

Commit

Permalink
try disable caching
Browse files Browse the repository at this point in the history
  • Loading branch information
define-null committed Nov 28, 2022
1 parent 6f7481b commit 4dcb365
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Inject slug/short variables
uses: rlespinasse/github-slug-action@v4
- uses: erlef/setup-beam@v1
with:
otp-version: "24.3"
Expand All @@ -29,9 +31,9 @@ jobs:
path: |
deps
_build
key: ${{ runner.os }}-mix-${{ hashFiles('**/mix.lock') }}
key: ${{ runner.os }}-{{env.GITHUB_EVENT_PULL_REQUEST_HEAD_SHA_SHORT}}-mix-${{ hashFiles('**/mix.lock') }}
restore-keys: |
${{ runner.os }}-mix
${{ runner.os }}-{{env.GITHUB_EVENT_PULL_REQUEST_HEAD_SHA_SHORT}}-mix
- run: make deps pretest_compile

tests:
Expand All @@ -40,6 +42,8 @@ jobs:
needs: deps
steps:
- uses: actions/checkout@v2
- name: Inject slug/short variables
uses: rlespinasse/github-slug-action@v4
- uses: erlef/setup-beam@v1
with:
otp-version: "24.3"
Expand All @@ -51,9 +55,9 @@ jobs:
path: |
deps
_build
key: ${{ runner.os }}-mix-${{ hashFiles('**/mix.lock') }}
key: ${{ runner.os }}-{{env.GITHUB_EVENT_PULL_REQUEST_HEAD_SHA_SHORT}}-mix-${{ hashFiles('**/mix.lock') }}
restore-keys: |
${{ runner.os }}-mix
${{ runner.os }}-{{ env.GITHUB_EVENT_PULL_REQUEST_HEAD_SHA_SHORT }}-mix
- uses: webfactory/ssh-agent@v0.5.4
with:
ssh-private-key: ${{ secrets.KEY_TO_ACCESS_SATELLITE_JS_PROTO }}
Expand Down Expand Up @@ -92,9 +96,9 @@ jobs:
path: |
deps
_build
key: ${{ runner.os }}-mix-${{ hashFiles('**/mix.lock') }}
key: ${{ runner.os }}-{{env.GITHUB_EVENT_PULL_REQUEST_HEAD_SHA_SHORT}}-mix-${{ hashFiles('**/mix.lock') }}
restore-keys: |
${{ runner.os }}-mix
${{ runner.os }}-{{env.GITHUB_EVENT_PULL_REQUEST_HEAD_SHA_SHORT }}-mix
- run: make docker-build-ci
env:
ELECTRIC_IMAGE_NAME: ghcr.io/${{ github.repository }}/electric
Expand Down

0 comments on commit 4dcb365

Please sign in to comment.