1111
1212 services :
1313 db :
14- image : postgres:10.11
14+ image : postgres:10.11-alpine
1515 ports : ["5432:5432"]
1616 options : >-
1717 --health-cmd pg_isready
@@ -31,28 +31,27 @@ jobs:
3131 ROLLBAR_ACCESS_TOKEN : ${{ secrets.ROLLBAR_ACCESS_TOKEN }}
3232 ROLLBAR_USERNAME : ${{ secrets.ROLLBAR_USERNAME }}
3333
34- - uses : actions/checkout@v1
35-
36- 34+ - uses : actions/checkout@v2
35+ - uses : erlef/setup-beam@v1
3736 with :
38- otp-version : 23.x
39- elixir-version : 1.11.x
37+ otp-version : " 23.x"
38+ elixir-version : " 1.11.x"
4039
41- - uses : actions/cache@v1
40+ - uses : actions/cache@v2
4241 with :
4342 path : services/app/deps
4443 key : ${{ runner.os }}-deps-${{ hashFiles(format('{0}{1}', github.workspace, '/services/app/mix.lock')) }}
4544 restore-keys : |
4645 ${{ runner.os }}-deps-
4746
48- - uses : actions/cache@v1
47+ - uses : actions/cache@v2
4948 with :
5049 path : services/app/_build
5150 key : ${{ runner.os }}-build-${{ hashFiles(format('{0}{1}', github.workspace, '/services/app/mix.lock')) }}
5251 restore-keys : |
5352 ${{ runner.os }}-build-
5453
55- - uses : actions/cache@v1
54+ - uses : actions/cache@v2
5655 with :
5756 path : ~/.mix
5857 key : ${{ runner.os }}-mix-${{ hashFiles(format('{0}{1}', github.workspace, '/services/app/mix.lock')) }}
7372 id : yarn-cache
7473 run : echo "::set-output name=dir::$(yarn cache dir)"
7574
76- - uses : actions/cache@v1
75+ - uses : actions/cache@v2
7776 with :
7877 path : ${{ steps.yarn-cache.outputs.dir }}
7978 key : ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
0 commit comments