Skip to content

Commit e74da6d

Browse files
author
vtm9
committed
Remove cache for master
1 parent 07587a5 commit e74da6d

1 file changed

Lines changed: 29 additions & 29 deletions

File tree

.github/workflows/master.yml

Lines changed: 29 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@ on:
77
jobs:
88
build:
99
if: github.repository == 'hexlet-codebattle/codebattle'
10-
runs-on: ubuntu-16.04
10+
runs-on: ubuntu-latest
1111

1212
services:
1313
db:
1414
image: postgres:10.11
15-
ports: ["5432:5432"]
15+
ports: ['5432:5432']
1616
options: >-
1717
--health-cmd pg_isready
1818
--health-interval 10s
@@ -24,9 +24,9 @@ jobs:
2424
uses: rollbar/[email protected]
2525
id: rollbar_pre_deploy
2626
with:
27-
environment: "production"
27+
environment: 'production'
2828
version: ${{ github.sha }}
29-
status: "started"
29+
status: 'started'
3030
env:
3131
ROLLBAR_ACCESS_TOKEN: ${{ secrets.ROLLBAR_ACCESS_TOKEN }}
3232
ROLLBAR_USERNAME: ${{ secrets.ROLLBAR_USERNAME }}
@@ -35,29 +35,29 @@ jobs:
3535

3636
- uses: erlef/setup-beam@v1
3737
with:
38-
otp-version: "24.0.5"
39-
elixir-version: "1.12.3"
40-
41-
- uses: actions/cache@v2
42-
with:
43-
path: services/app/deps
44-
key: v2-${{ runner.os }}-deps-${{ hashFiles(format('{0}{1}', github.workspace, '/services/app/mix.lock')) }}
45-
restore-keys: |
46-
${{ runner.os }}-deps-
47-
48-
- uses: actions/cache@v2
49-
with:
50-
path: services/app/_build
51-
key: v2-${{ runner.os }}-build-${{ hashFiles(format('{0}{1}', github.workspace, '/services/app/mix.lock')) }}
52-
restore-keys: |
53-
${{ runner.os }}-build-
54-
55-
- uses: actions/cache@v2
56-
with:
57-
path: ~/.mix
58-
key: v2-${{ runner.os }}-mix-${{ hashFiles(format('{0}{1}', github.workspace, '/services/app/mix.lock')) }}
59-
restore-keys: |
60-
${{ runner.os }}-mix-
38+
otp-version: '24.0.5'
39+
elixir-version: '1.12.3'
40+
41+
# - uses: actions/cache@v2
42+
# with:
43+
# path: services/app/deps
44+
# key: v2-${{ runner.os }}-deps-${{ hashFiles(format('{0}{1}', github.workspace, '/services/app/mix.lock')) }}
45+
# restore-keys: |
46+
# ${{ runner.os }}-deps-
47+
48+
# - uses: actions/cache@v2
49+
# with:
50+
# path: services/app/_build
51+
# key: v2-${{ runner.os }}-build-${{ hashFiles(format('{0}{1}', github.workspace, '/services/app/mix.lock')) }}
52+
# restore-keys: |
53+
# ${{ runner.os }}-build-
54+
55+
# - uses: actions/cache@v2
56+
# with:
57+
# path: ~/.mix
58+
# key: v2-${{ runner.os }}-mix-${{ hashFiles(format('{0}{1}', github.workspace, '/services/app/mix.lock')) }}
59+
# restore-keys: |
60+
# ${{ runner.os }}-mix-
6161

6262
- name: Get deps
6363
run: mix deps.get
@@ -126,9 +126,9 @@ jobs:
126126
uses: rollbar/[email protected]
127127
id: rollbar_post_deploy
128128
with:
129-
environment: "production"
129+
environment: 'production'
130130
version: ${{ github.sha }}
131-
status: "succeeded"
131+
status: 'succeeded'
132132
env:
133133
ROLLBAR_ACCESS_TOKEN: ${{ secrets.ROLLBAR_ACCESS_TOKEN }}
134134
ROLLBAR_USERNAME: ${{ secrets.ROLLBAR_USERNAME }}

0 commit comments

Comments
 (0)