Skip to content

Commit 7c0e726

Browse files
authored
Merge pull request #236 from Kharhamel/improve/ci
improved the ci
2 parents 53e6692 + 0b043eb commit 7c0e726

File tree

3 files changed

+11
-2
lines changed

3 files changed

+11
-2
lines changed

.github/workflows/auto-regenerate.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: "Auto Regenerate"
33

44
on:
55
schedule:
6-
- cron: '0 0 * * 3'
6+
- cron: '0 3 * * *'
77

88
jobs:
99

.github/workflows/continuous-integration.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,23 @@ jobs:
3333
coverage: "pcov"
3434
php-version: "${{ matrix.php-version }}"
3535

36+
- name: "Cache the php documentation"
37+
id: cache-php-doc
38+
uses: "actions/cache@v1"
39+
with:
40+
path: "generator/doc/doc-en"
41+
key: "php-doc"
42+
3643
- name: "Check out salathe/phpdoc-base"
3744
uses: "actions/checkout@v2"
45+
if: steps.cache-php-doc.outputs.cache-hit != 'true'
3846
with:
3947
path: "generator/doc/doc-en/doc-base"
4048
repository: "salathe/phpdoc-base"
4149

4250
- name: "Check out php/doc-en"
4351
uses: "actions/checkout@v2"
52+
if: steps.cache-php-doc.outputs.cache-hit != 'true'
4453
with:
4554
path: "generator/doc/doc-en/en"
4655
repository: "php/doc-en"

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
[![License](https://poser.pugx.org/thecodingmachine/safe/license.svg)](https://packagist.org/packages/thecodingmachine/safe)
55
[![Build Status](https://travis-ci.org/thecodingmachine/safe.svg?branch=master)](https://travis-ci.org/thecodingmachine/safe)
66
[![Continuous Integration](https://github.com/thecodingmachine/safe/workflows/Continuous%20Integration/badge.svg)](https://github.com/thecodingmachine/safe/actions)
7-
[![Coverage Status](https://coveralls.io/repos/thecodingmachine/safe/badge.svg?branch=master&service=github)](https://coveralls.io/github/thecodingmachine/safe?branch=master)
7+
[![codecov](https://codecov.io/gh/thecodingmachine/safe/branch/master/graph/badge.svg)](https://codecov.io/gh/thecodingmachine/safe)
88

99
Safe PHP
1010
========

0 commit comments

Comments
 (0)