From c77c133d4fd9807d4a49629331bf0ce28d755ea3 Mon Sep 17 00:00:00 2001 From: David Date: Tue, 4 Oct 2022 14:17:26 +0200 Subject: [PATCH] updated github workflow --- .github/workflows/coding-style.yml | 8 ++++---- .github/workflows/static-analysis.yml | 4 ++-- .github/workflows/tests.yml | 10 +++++----- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/coding-style.yml b/.github/workflows/coding-style.yml index 2f260959..7251744d 100644 --- a/.github/workflows/coding-style.yml +++ b/.github/workflows/coding-style.yml @@ -7,8 +7,8 @@ jobs: name: Nette Code Checker runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - uses: shivammathur/setup-php@v1 + - uses: actions/checkout@v3 + - uses: shivammathur/setup-php@v2 with: php-version: 8.0 coverage: none @@ -21,8 +21,8 @@ jobs: name: Nette Coding Standard runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - uses: shivammathur/setup-php@v1 + - uses: actions/checkout@v3 + - uses: shivammathur/setup-php@v2 with: php-version: 8.0 coverage: none diff --git a/.github/workflows/static-analysis.yml b/.github/workflows/static-analysis.yml index 050a9470..b23bf1a1 100644 --- a/.github/workflows/static-analysis.yml +++ b/.github/workflows/static-analysis.yml @@ -10,8 +10,8 @@ jobs: name: PHPStan runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - uses: shivammathur/setup-php@v1 + - uses: actions/checkout@v3 + - uses: shivammathur/setup-php@v2 with: php-version: 8.0 coverage: none diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 35ee7420..5eec9c5f 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -14,7 +14,7 @@ jobs: name: PHP ${{ matrix.php }} tests on ${{ matrix.os }} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - uses: shivammathur/setup-php@v2 with: php-version: ${{ matrix.php }} @@ -27,7 +27,7 @@ jobs: - run: src/tester tests -s -C shell: bash - if: failure() - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: output path: tests/**/output @@ -37,8 +37,8 @@ jobs: # name: Failing test # runs-on: ubuntu-latest # steps: -# - uses: actions/checkout@v2 -# - uses: shivammathur/setup-php@v1 +# - uses: actions/checkout@v3 +# - uses: shivammathur/setup-php@v2 # with: # php-version: 8.0 # coverage: none @@ -51,7 +51,7 @@ jobs: name: Code Coverage runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - uses: shivammathur/setup-php@v2 with: php-version: 8.0