Skip to content

Commit

Permalink
update indent & codeigniter4 version (#18)
Browse files Browse the repository at this point in the history
  • Loading branch information
totoprayogo1916 authored Jul 30, 2023
1 parent bfc04c0 commit ce829a6
Showing 5 changed files with 17 additions and 9 deletions.
3 changes: 3 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -10,3 +10,6 @@ end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[*.{yml,yaml}]
indent_size = 2
5 changes: 5 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -10,6 +10,11 @@ updates:
schedule:
interval: "weekly"

- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"

- package-ecosystem: "npm"
directory: "/"
schedule:
8 changes: 4 additions & 4 deletions .github/workflows/php-cs-fixer.yml
Original file line number Diff line number Diff line change
@@ -3,8 +3,8 @@ name: 🔧 Style PHP-CS-Fixer
on:
pull_request:
paths:
- '**.php'
- "**.php"

jobs:
php-cs-fixer:
runs-on: ubuntu-latest
@@ -20,5 +20,5 @@ jobs:
- run: composer run csfix
- uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: Fixed & optimize by php-cs-fixer
commit_author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
commit_message: Fixed & optimize by php-cs-fixer
commit_author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
8 changes: 4 additions & 4 deletions .github/workflows/phpunit.yml
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@ name: PHPUnit

on:
pull_request:
branches:
branches:
- develop

jobs:
@@ -11,7 +11,7 @@ jobs:

strategy:
matrix:
php-versions: ['7.4', '8.0']
php-versions: ["7.4", "8.0"]

runs-on: ubuntu-latest

@@ -44,8 +44,8 @@ jobs:
run: composer install --no-progress --no-interaction --prefer-dist --optimize-autoloader
# To prevent rate limiting you may need to supply an OAuth token in Settings > Secrets
# env:
# https://getcomposer.org/doc/articles/troubleshooting.md#api-rate-limit-and-oauth-tokens
# COMPOSER_AUTH: ${{ secrets.COMPOSER_AUTH }}
# https://getcomposer.org/doc/articles/troubleshooting.md#api-rate-limit-and-oauth-tokens
# COMPOSER_AUTH: ${{ secrets.COMPOSER_AUTH }}

- name: Test with phpunit
run: vendor/bin/phpunit --coverage-text
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -11,7 +11,7 @@
},
"require": {
"php": "^7.4 || ^8.0",
"codeigniter4/framework": "4.3.6"
"codeigniter4/framework": "4.3.7"
},
"require-dev": {
"codeigniter/coding-standard": "^1.1",

0 comments on commit ce829a6

Please sign in to comment.