Skip to content

Commit

Permalink
Update actions, fix code smell
Browse files Browse the repository at this point in the history
  • Loading branch information
bennothommo committed Sep 26, 2023
1 parent ce4e758 commit c90411e
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 10 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/code-analysis.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
id: extcache
uses: shivammathur/cache-extensions@v1
with:
php-version: '8.1'
php-version: '8.2'
extensions: ${{ env.extensions }}
key: ${{ env.key }}

Expand All @@ -42,7 +42,7 @@ jobs:
- name: Install PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.1'
php-version: '8.2'
extensions: ${{ env.extensions }}
coverage: none

Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/code-quality.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ on:
pull_request:
push:
branches:
- 1.0
- 1.1
- develop

jobs:
Expand All @@ -20,7 +18,7 @@ jobs:
- name: Install PHP and PHP Code Sniffer
uses: shivammathur/setup-php@v2
with:
php-version: '7.3'
php-version: '8.2'
tools: phpcs
coverage: none
- name: Run code quality checks (on push)
Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,16 @@ name: Tests
on:
push:
branches:
- "1.0"
- "1.1"
- develop
pull_request:

jobs:
unitTests:
strategy:
max-parallel: 6
max-parallel: 4
matrix:
operatingSystem: [ubuntu-latest, windows-latest]
phpVersion: ['8.0', '8.1', '8.2']
phpVersion: ['8.1', '8.2']
fail-fast: false
runs-on: ${{ matrix.operatingSystem }}
name: ${{ matrix.operatingSystem }} / PHP ${{ matrix.phpVersion }}
Expand Down
1 change: 0 additions & 1 deletion src/Translation/FileLoader.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,5 @@ protected function loadPaths($paths, $locale, $group)

return $output;
}, []);

}
}

0 comments on commit c90411e

Please sign in to comment.