Skip to content

Commit 1c784bc

Browse files
author
vtm9
committed
Upgrade ci tools versions
1 parent e088879 commit 1c784bc

File tree

2 files changed

+17
-19
lines changed

2 files changed

+17
-19
lines changed

.github/workflows/master.yml

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
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-
- uses: actions/[email protected]
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')) }}
@@ -73,7 +72,7 @@ jobs:
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') }}

.github/workflows/pr.yml

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010

1111
services:
1212
db:
13-
image: postgres:10.11
13+
image: postgres:10.11-alpine
1414
ports: ["5432:5432"]
1515
options: >-
1616
--health-cmd pg_isready
@@ -20,27 +20,26 @@ jobs:
2020
2121
steps:
2222
- uses: actions/checkout@v2
23-
24-
- uses: actions/[email protected]
23+
- uses: erlef/setup-beam@v1
2524
with:
26-
otp-version: 23.x
27-
elixir-version: 1.11.x
25+
otp-version: "23.x"
26+
elixir-version: "1.11.x"
2827

29-
- uses: actions/cache@v1
28+
- uses: actions/cache@v2
3029
with:
3130
path: services/app/deps
3231
key: ${{ runner.os }}-deps-${{ hashFiles(format('{0}{1}', github.workspace, '/services/app/mix.lock')) }}
3332
restore-keys: |
3433
${{ runner.os }}-deps-
3534
36-
- uses: actions/cache@v1
35+
- uses: actions/cache@v2
3736
with:
3837
path: services/app/_build
3938
key: ${{ runner.os }}-build-${{ hashFiles(format('{0}{1}', github.workspace, '/services/app/mix.lock')) }}
4039
restore-keys: |
4140
${{ runner.os }}-build-
4241
43-
- uses: actions/cache@v1
42+
- uses: actions/cache@v2
4443
with:
4544
path: ~/.mix
4645
key: ${{ runner.os }}-mix-${{ hashFiles(format('{0}{1}', github.workspace, '/services/app/mix.lock')) }}
@@ -67,7 +66,7 @@ jobs:
6766
id: yarn-cache
6867
run: echo "::set-output name=dir::$(yarn cache dir)"
6968

70-
- uses: actions/cache@v1
69+
- uses: actions/cache@v2
7170
with:
7271
path: ${{ steps.yarn-cache.outputs.dir }}
7372
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}

0 commit comments

Comments
 (0)