diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 4b4ff75..e3b4ede 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -3,37 +3,20 @@ version: 2 updates: # Maintain dependencies for GitHub Actions - package-ecosystem: github-actions - directory: "/" + directory: '/' schedule: interval: weekly - time: "11:00" - labels: - - actions - - dependencies - - auto-squash # Maintain dependencies for npm/yarn - package-ecosystem: npm - directory: "/" + directory: '/' schedule: interval: weekly - time: "11:00" - open-pull-requests-limit: 10 versioning-strategy: lockfile-only - labels: - - javascript - - dependencies - - auto-squash # Maintain dependencies for Composer - package-ecosystem: composer - directory: "/" + directory: '/' schedule: interval: weekly - time: "11:00" - open-pull-requests-limit: 10 versioning-strategy: lockfile-only - labels: - - php - - dependencies - - auto-squash diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 34b0ac5..9814124 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -51,7 +51,7 @@ jobs: - name: Get Composer Cache Directory id: composer-cache - run: echo "::set-output name=dir::$(composer config cache-files-dir)" + run: echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT - name: Cache composer files uses: actions/cache@v3 with: @@ -154,13 +154,13 @@ jobs: run: | version=$(git tag --points-at HEAD) test -z "$version" && version="main" - echo "::set-output name=value::$version" + echo "value=$version" >> $GITHUB_OUTPUT - name: Set coverage list id: coverage run: | SONAR_COVERAGE=$(ls -m --format=comma results/${{ env.coverage-with }}/coverage/coverage*.xml | sed -e ':a;N;$!ba;s/\n//g; s/ //g;') - echo "::set-output name=list::$SONAR_COVERAGE" + echo "list=$SONAR_COVERAGE" >> $GITHUB_OUTPUT - name: SonarCloud Scan if: env.SONAR_TOKEN != '' diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 38333e5..9c18729 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -50,7 +50,7 @@ jobs: - name: Get Composer Cache Directory id: composer-cache - run: echo "::set-output name=dir::$(composer config cache-files-dir)" + run: echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT - name: Cache composer files uses: actions/cache@v3 with: @@ -69,18 +69,7 @@ jobs: uses: actions/setup-node@v3 with: node-version: ${{ env.node-version }} - - name: Get yarn cache directory path - id: yarn-cache - run: echo "::set-output name=dir::$(yarn cache dir)" - - name: Cache yarn files - uses: actions/cache@v3 - with: - path: ${{ steps.yarn-cache.outputs.dir }} - key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} - restore-keys: | - ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} - ${{ runner.os }}-yarn- - + cache: yarn - name: Install yarn dependencies run: yarn install - name: Lint files diff --git a/.github/workflows/static.yml b/.github/workflows/static.yml index d1e02ac..2cb19f8 100644 --- a/.github/workflows/static.yml +++ b/.github/workflows/static.yml @@ -24,7 +24,7 @@ jobs: - name: Get Composer Cache Directory id: composer-cache - run: echo "::set-output name=dir::$(composer config cache-files-dir)" + run: echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT - name: Cache composer files uses: actions/cache@v3 with: @@ -57,7 +57,7 @@ jobs: - name: Get Composer Cache Directory id: composer-cache - run: echo "::set-output name=dir::$(composer config cache-files-dir)" + run: echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT - name: Cache composer files uses: actions/cache@v3 with: diff --git a/app/Console/Commands/Setup.php b/app/Console/Commands/Setup.php index facb3ff..94e2090 100644 --- a/app/Console/Commands/Setup.php +++ b/app/Console/Commands/Setup.php @@ -43,7 +43,7 @@ public function handle(): void $this->artisan('✓ Clear config cache', 'config:clear'); $this->artisan('✓ Resetting route cache', 'route:cache'); $this->artisan('✓ Resetting view cache', 'view:clear'); - // @codeCoverageIgnoreEnd + // @codeCoverageIgnoreEnd } else { $this->artisan('✓ Clear config cache', 'config:clear'); $this->artisan('✓ Clear route cache', 'route:clear'); diff --git a/app/Console/Kernel.php b/app/Console/Kernel.php index 496f439..f2c1a3c 100644 --- a/app/Console/Kernel.php +++ b/app/Console/Kernel.php @@ -25,6 +25,7 @@ protected function commands() * * @param \Illuminate\Console\Scheduling\Schedule $schedule * @return void + * * @codeCoverageIgnore */ protected function schedule(Schedule $schedule) diff --git a/config/sentry.php b/config/sentry.php index 37fc3cd..0ed46f3 100644 --- a/config/sentry.php +++ b/config/sentry.php @@ -50,7 +50,7 @@ // @see: https://docs.sentry.io/platforms/php/configuration/options/#send-default-pii 'send_default_pii' => env('SENTRY_DEFAULT_PII', false), - 'traces_sample_rate' => (float) (env('SENTRY_TRACES_SAMPLE_RATE', 0.0)), + 'traces_sample_rate' => (float) env('SENTRY_TRACES_SAMPLE_RATE', 0.0), 'controllers_base_namespace' => env('SENTRY_CONTROLLERS_BASE_NAMESPACE', 'App\\Http\\Controllers'),