mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-27 13:47:58 +01:00
scrap layer caching
This commit is contained in:
parent
f66b5599fa
commit
758c306036
1 changed files with 1 additions and 8 deletions
9
.github/workflows/elixir.yml
vendored
9
.github/workflows/elixir.yml
vendored
|
@ -16,9 +16,7 @@ jobs:
|
||||||
key: ${{ runner.os }}-build-deps-${{ hashFiles('mix.lock') }}
|
key: ${{ runner.os }}-build-deps-${{ hashFiles('mix.lock') }}
|
||||||
|
|
||||||
- run: docker-compose pull
|
- run: docker-compose pull
|
||||||
|
- run: docker-compose build
|
||||||
- uses: satackey/action-docker-layer-caching@v0.0.8
|
|
||||||
continue-on-error: true
|
|
||||||
|
|
||||||
- name: Build and test
|
- name: Build and test
|
||||||
run: docker-compose run app run-test
|
run: docker-compose run app run-test
|
||||||
|
@ -27,8 +25,3 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
docker-compose run app mix sobelow --config
|
docker-compose run app mix sobelow --config
|
||||||
docker-compose run app mix deps.audit
|
docker-compose run app mix deps.audit
|
||||||
|
|
||||||
- name: Fix permissions
|
|
||||||
run: |
|
|
||||||
sudo chown -R $(whoami):$(id -ng) deps
|
|
||||||
sudo chown -R $(whoami):$(id -ng) _build
|
|
||||||
|
|
Loading…
Reference in a new issue