From 2857c17d4b7aa954eaf17434ca876c5e652664d7 Mon Sep 17 00:00:00 2001 From: Artem Goutsoul Date: Sun, 3 May 2020 13:35:11 +0300 Subject: [PATCH 1/5] Create php.yml trying workflows --- .github/workflows/php.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/php.yml diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml new file mode 100644 index 0000000..682eb69 --- /dev/null +++ b/.github/workflows/php.yml @@ -0,0 +1,21 @@ +name: PHP Composer + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + + - name: PHP Runner + uses: franzliedke/gh-action-php@0.2.0 + + - name: run tests + run: php7.0 tests/index.php From fcce58af19579a85bd272be1e4576b0428964089 Mon Sep 17 00:00:00 2001 From: Artem Goutsoul Date: Sun, 3 May 2020 14:20:44 +0300 Subject: [PATCH 2/5] Update php.yml test --- .github/workflows/php.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml index 682eb69..74c7e2c 100644 --- a/.github/workflows/php.yml +++ b/.github/workflows/php.yml @@ -14,8 +14,6 @@ jobs: steps: - uses: actions/checkout@v2 - - name: PHP Runner - uses: franzliedke/gh-action-php@0.2.0 - - - name: run tests - run: php7.0 tests/index.php + - uses: franzliedke/gh-action-php@0.2.0 + with: + runs: php7.0 --version From 7e1ac343af9170e2776309081cd9061a9cc4f5b3 Mon Sep 17 00:00:00 2001 From: Artem Goutsoul Date: Sun, 3 May 2020 14:42:34 +0300 Subject: [PATCH 3/5] Update php.yml --- .github/workflows/php.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml index 74c7e2c..eb6a1aa 100644 --- a/.github/workflows/php.yml +++ b/.github/workflows/php.yml @@ -1,4 +1,4 @@ -name: PHP Composer +name: Run tests on: push: @@ -15,5 +15,4 @@ jobs: - uses: actions/checkout@v2 - uses: franzliedke/gh-action-php@0.2.0 - with: - runs: php7.0 --version + run: php7.0 --version From 0d4235372839b1e1bf6e9e71c5aaabf42657ea12 Mon Sep 17 00:00:00 2001 From: Artem Goutsoul Date: Sun, 3 May 2020 14:48:40 +0300 Subject: [PATCH 4/5] Update php.yml --- .github/workflows/php.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml index eb6a1aa..338033b 100644 --- a/.github/workflows/php.yml +++ b/.github/workflows/php.yml @@ -15,4 +15,5 @@ jobs: - uses: actions/checkout@v2 - uses: franzliedke/gh-action-php@0.2.0 - run: php7.0 --version + + - run: php7.0 tests/index.php From 5a53faf87f712c7bfafae9356e4ddb767d44c3d9 Mon Sep 17 00:00:00 2001 From: Artem Goutsoul Date: Mon, 4 May 2020 16:12:56 +0300 Subject: [PATCH 5/5] Update php.yml --- .github/workflows/php.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml index 338033b..cc2b444 100644 --- a/.github/workflows/php.yml +++ b/.github/workflows/php.yml @@ -13,7 +13,5 @@ jobs: steps: - uses: actions/checkout@v2 - - - uses: franzliedke/gh-action-php@0.2.0 - - run: php7.0 tests/index.php + - run: php tests/index.php