Skip to content

Commit

Permalink
Review changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Tymotey committed Sep 17, 2024
1 parent e7d5da3 commit dfe6954
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 18 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,26 +8,20 @@ on:
- 'v*.*'
pull_request:

# Cancels all previous workflow runs for pull requests that have not completed.
# concurrency:
# group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.sha }}
# cancel-in-progress: true

jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

# Initialize Cache Composer
- name: Cache Composer dependencies
uses: actions/cache@v3
with:
path: .cache
key: ${{ runner.os }}-${{ hashFiles('**/composer.lock') }}

# Initialize Node.js
- uses: actions/setup-node@v3
- name: Initialize Node.js
uses: actions/setup-node@v3
with:
node-version: '22'
check-latest: true
Expand Down
12 changes: 3 additions & 9 deletions .prettierrc
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,14 @@
"overrides": [
{
"files": ".prettierrc",
"options": {
"parser": "json"
}
"options": { "parser": "json" }
},
{
"files": "**/*.{yml,yaml}",
"options": {
"tabWidth": 2
}
"options": { "tabWidth": 2 }
}
],
"plugins": [
"@prettier/plugin-php"
],
"plugins": ["@prettier/plugin-php"],
"arrowParens": "avoid",
"braceStyle": "per-cs",
"endOfLine": "auto",
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
"scripts": {
"post-install-cmd": "phpcs --config-set installed_paths vendor/phpcompatibility/php-compatibility",
"post-update-cmd": "phpcs --config-set installed_paths vendor/phpcompatibility/php-compatibility",
"sniff-check": "phpcs --standard=./phpcs.xml.dist"
"sniff-check": "phpcs"
}
}

0 comments on commit dfe6954

Please sign in to comment.