Skip to content

Commit

Permalink
chore (CI/CD) Tests of RC now must pass for php 7.2, 8.0 and 8.3 (bef…
Browse files Browse the repository at this point in the history
…ore 7.2, 8.0 and 8.2)
  • Loading branch information
Wtyd committed Dec 16, 2023
1 parent 94a412e commit 86fe185
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ jobs:
fail-fast: false
matrix:
operating-system: [ubuntu-latest]
php-versions: ['7.2', '8.0', '8.2']
php-versions: ['7.2', '8.0', '8.3']
steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down Expand Up @@ -138,8 +138,8 @@ jobs:
tar -xf githooks-73/githooks-73.tar
builds/php7.3/githooks --version
- name: Extract and check builds 8.2
if: ${{ '8.2' == matrix.php-versions }}
- name: Extract and check builds 8.3
if: ${{ '8.3' == matrix.php-versions }}
run: |
rm builds/githooks
tar -xf githooks-81/githooks-81.tar
Expand All @@ -165,15 +165,15 @@ jobs:
- name: Delete Old Builds
run: rm builds/githooks builds/php7.1/githooks && echo ${{ secrets.PAT_TOKEN_TO_COMMIT }}

- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: githooks-71

- uses: actions/download-artifact@master
- uses: actions/download-artifact@v4
with:
name: githooks-73

- uses: actions/download-artifact@master
- uses: actions/download-artifact@v4
with:
name: githooks-81

Expand Down
2 changes: 1 addition & 1 deletion tests/System/Release/NewVersionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ function it_prints_the_new_version()
{
passthru("$this->githooks --version", $exitCode);

$newVersion = '2.5.0';
$newVersion = '2.6.0';
$this->assertStringContainsString("GitHooks $newVersion", $this->getActualOutput());
$this->assertEquals(0, $exitCode);
}
Expand Down

0 comments on commit 86fe185

Please sign in to comment.