From 91203c6fab53e68de8232facef51084f23eb5bb7 Mon Sep 17 00:00:00 2001 From: Abdullahi Abdul Kabir Date: Wed, 14 Feb 2024 10:17:36 +0100 Subject: [PATCH] update php version workflow --- .github/workflows/main.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index fbe23a3b..3bcb27de 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -58,7 +58,7 @@ jobs: - uses: actions/checkout@v2 - uses: shivammathur/setup-php@v2 with: - php-version: '8.0' + php-version: '8.1' - name: 'PhpUnit' run: | sudo composer install @@ -83,7 +83,7 @@ jobs: - uses: actions/checkout@v2 - uses: shivammathur/setup-php@v2 with: - php-version: '8.0' + php-version: '8.1' - name: 'Run php-insight' run: | sudo composer install @@ -95,7 +95,7 @@ jobs: - uses: actions/checkout@v2 - uses: shivammathur/setup-php@v2 with: - php-version: '8.0' + php-version: '8.1' - name: 'Run php-insight' run: | PHP_SC_VERSION=$(curl -s "https://api.github.com/repos/fabpot/local-php-security-checker/releases/latest" | grep '"tag_name":' | sed -E 's/.*"([^"]+)".*/\1/;s/^v//') @@ -114,7 +114,7 @@ jobs: mysql password: ${{env.DB_PASSWORD}} - uses: shivammathur/setup-php@v2 with: - php-version: '8.0' + php-version: '8.1' - name: 'Run migration' run: | sudo composer install