Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update #4526

Closed
wants to merge 45 commits into from
Closed

Update #4526

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
d47d09c
Update phpunit/phpunit-selenium requirement from ~1.4.0 to ~2.0.3
dependabot[bot] Apr 23, 2022
a7b0709
Bump actions/cache from 2.1.7 to 3.0.4
dependabot[bot] Jun 7, 2022
e037279
Merge pull request #6 from worldtravelerr/dependabot/github_actions/a…
Jun 9, 2022
7b69c2e
Merge pull request #4 from worldtravelerr/dependabot/composer/phpunit…
Jun 9, 2022
a7dcdb2
Update phpunit/phpunit requirement from 4.8.34 to 4.8.36
dependabot[bot] Jun 9, 2022
d63c42e
Merge pull request #3 from worldtravelerr/dependabot/composer/phpunit…
Jun 9, 2022
92f3242
Update phpunit/phpunit-selenium requirement from ~1.4.0 to ~2.0.3
dependabot[bot] Apr 23, 2022
22bf6fb
Update phpunit/phpunit requirement from 4.8.34 to 4.8.36
dependabot[bot] Jun 9, 2022
9855ee0
update composer.json
Jun 9, 2022
0fb2194
Merge remote-tracking branch 'origin/master'
Jun 10, 2022
b2c7e45
Update phpunit/phpunit-selenium requirement from ~1.4.0 to ~2.0.3
dependabot[bot] Aug 16, 2022
4d4440d
Merge pull request #12 from Aspirational-Technology/dependabot/compos…
worldtravelerr Aug 18, 2022
ba01002
Update phpunit/phpunit requirement from 4.8.34 to 4.8.36
dependabot[bot] Aug 18, 2022
e2a6765
Merge pull request #11 from Aspirational-Technology/dependabot/compos…
worldtravelerr Aug 18, 2022
d5529e6
Merge branch 'yiisoft:master' into master
worldtravelerr Aug 19, 2022
0b2e7c1
Create dependency-review.yml
worldtravelerr Aug 19, 2022
24bce4c
Create php.yml
worldtravelerr Aug 20, 2022
cf3e2ff
Create eslint.yml
worldtravelerr Aug 20, 2022
05c8309
Create sonarcloud.yml
worldtravelerr Aug 20, 2022
778d2d9
Create phpmd.yml
worldtravelerr Aug 20, 2022
6117076
Create super-linter.yml
worldtravelerr Aug 22, 2022
4521bd7
Merge branch 'yiisoft:master' into master
Aug 25, 2022
6095ed9
Delete sonarcloud.yml
Aug 25, 2022
b55fd54
Merge branch 'yiisoft:master' into master
Sep 3, 2022
97b2b39
Merge branch 'yiisoft:master' into master
Oct 30, 2022
b24e81c
Merge branch 'yiisoft:master' into master
Nov 3, 2022
d979356
Bump actions/dependency-review-action from 2 to 3
dependabot[bot] Nov 11, 2022
bf45495
Merge branch 'yiisoft:master' into master
Dec 4, 2022
26820cb
Merge branch 'master' into dependabot/github_actions/actions/dependen…
Dec 11, 2022
b295aed
Bump actions/dependency-review-action from 2 to 3 (#13)
Dec 11, 2022
ef0be68
Merge branch 'yiisoft:master' into master
Dec 31, 2022
e361fe9
Merge branch 'yiisoft:master' into master
Jan 24, 2023
d686fac
Merge branch 'yiisoft:master' into master
Feb 6, 2023
0e0a136
update composer.json
worldtravelerr Feb 11, 2023
aee9611
Merge remote-tracking branch 'origin/master'
worldtravelerr Feb 11, 2023
9973565
update composer.json
worldtravelerr Feb 25, 2023
f773a03
Merge branch 'yiisoft:master' into master
Mar 6, 2023
6babcc0
update
worldtravelerr Mar 11, 2023
aac35ac
update
worldtravelerr Mar 11, 2023
18aa74a
Merge remote-tracking branch 'GitHub/master'
worldtravelerr Mar 11, 2023
db9f52d
update
worldtravelerr Mar 11, 2023
0e3f7fa
Build(deps): bump actions/checkout from 2 to 3
dependabot[bot] Mar 14, 2023
3cd8d72
Build(deps): bump actions/checkout from 2 to 3 (#14)
Mar 18, 2023
b71d002
Merge branch 'yiisoft:master' into master
May 4, 2023
d015daf
Merge branch 'yiisoft:master' into master
Jul 25, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,15 +90,15 @@ jobs:

- name: Cache extensions 5.3 - 5.6
if: matrix.php < '7.0'
uses: actions/cache@v3
uses: actions/cache@v3.0.4
with:
path: ${{ steps.cache-env-php5.outputs.dir }}
key: ${{ steps.cache-env-php5.outputs.key }}
restore-keys: ${{ steps.cache-env-php5.outputs.key }}

- name: Cache extensions 7.0 - 8.0
if: matrix.php >= '7.0'
uses: actions/cache@v3
uses: actions/cache@v3.0.4
with:
path: ${{ steps.cache-env-php7.outputs.dir }}
key: ${{ steps.cache-env-php7.outputs.key }}
Expand All @@ -121,7 +121,7 @@ jobs:
run: echo "COMPOSER_CACHE_DIR=~\AppData\Local\Composer" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append

- name: Cache dependencies installed with composer
uses: actions/cache@v3
uses: actions/cache@v3.0.4
with:
path: ${{ env.COMPOSER_CACHE_DIR }}
key: php${{ matrix.php }}-composer-${{ hashFiles('**/composer.json') }}
Expand Down
20 changes: 20 additions & 0 deletions .github/workflows/dependency-review.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Dependency Review Action
#
# This Action will scan dependency manifest files that change as part of a Pull Request, surfacing known-vulnerable versions of the packages declared or updated in the PR. Once installed, if the workflow run is marked as required, PRs introducing known-vulnerable packages will be blocked from merging.
#
# Source repository: https://github.com/actions/dependency-review-action
# Public documentation: https://docs.github.com/en/code-security/supply-chain-security/understanding-your-software-supply-chain/about-dependency-review#dependency-review-enforcement
name: 'Dependency Review'
on: [pull_request]

permissions:
contents: read

jobs:
dependency-review:
runs-on: ubuntu-latest
steps:
- name: 'Checkout Repository'
uses: actions/checkout@v3
- name: 'Dependency Review'
uses: actions/dependency-review-action@v3
49 changes: 49 additions & 0 deletions .github/workflows/eslint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
# ESLint is a tool for identifying and reporting on patterns
# found in ECMAScript/JavaScript code.
# More details at https://github.com/eslint/eslint
# and https://eslint.org

name: ESLint

on:
push:
branches: [ "master", customizations ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ "master" ]
schedule:
- cron: '29 23 * * 0'

jobs:
eslint:
name: Run eslint scanning
runs-on: ubuntu-latest
permissions:
contents: read
security-events: write
steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Install ESLint
run: |
npm install [email protected]
npm install @microsoft/[email protected]

- name: Run ESLint
run: npx eslint .
--config .eslintrc.js
--ext .js,.jsx,.ts,.tsx
--format @microsoft/eslint-formatter-sarif
--output-file eslint-results.sarif
continue-on-error: true

- name: Upload analysis results to GitHub
uses: github/codeql-action/upload-sarif@v2
with:
sarif_file: eslint-results.sarif
wait-for-processing: true
39 changes: 39 additions & 0 deletions .github/workflows/php.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: PHP Composer

on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]

permissions:
contents: read

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- name: Validate composer.json and composer.lock
run: composer validate --strict

- name: Cache Composer packages
id: composer-cache
uses: actions/cache@v3
with:
path: vendor
key: ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }}
restore-keys: |
${{ runner.os }}-php-

- name: Install dependencies
run: composer install --prefer-dist --no-progress

# Add a test script to composer.json, for instance: "test": "vendor/bin/phpunit"
# Docs: https://getcomposer.org/doc/articles/scripts.md

# - name: Run test suite
# run: composer run-script test
56 changes: 56 additions & 0 deletions .github/workflows/phpmd.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
# PHPMD is a spin-off project of PHP Depend and
# aims to be a PHP equivalent of the well known Java tool PMD.
# What PHPMD does is: It takes a given PHP source code base
# and look for several potential problems within that source.
# These problems can be things like:
# Possible bugs
# Suboptimal code
# Overcomplicated expressions
# Unused parameters, methods, properties
# More details at https://phpmd.org/

name: PHPMD

on:
push:
branches: [ "master", customizations ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ "master" ]
schedule:
- cron: '28 2 * * 6'

permissions:
contents: read

jobs:
PHPMD:
name: Run PHPMD scanning
runs-on: ubuntu-latest
permissions:
contents: read # for checkout to fetch code
security-events: write # for github/codeql-action/upload-sarif to upload SARIF results

steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Setup PHP
uses: shivammathur/setup-php@aa1fe473f9c687b6fb896056d771232c0bc41161
with:
coverage: none
tools: phpmd

- name: Run PHPMD
run: phpmd . sarif codesize --reportfile phpmd-results.sarif
continue-on-error: true

- name: Upload analysis results to GitHub
uses: github/codeql-action/upload-sarif@v2
with:
sarif_file: phpmd-results.sarif
wait-for-processing: true
29 changes: 29 additions & 0 deletions .github/workflows/super-linter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# This workflow executes several linters on changed files based on languages used in your code base whenever
# you push a code or open a pull request.
#
# You can adjust the behavior by modifying this file.
# For more information, see:
# https://github.com/github/super-linter
name: Lint Code Base

on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
run-lint:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
# Full git history is needed to get a proper list of changed files within `super-linter`
fetch-depth: 0

- name: Lint Code Base
uses: github/super-linter@v4
env:
VALIDATE_ALL_CODEBASE: false
DEFAULT_BRANCH: "master"
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
*.iml
*.ipr
*.iws
.idea/
nbproject/
nbactions.xml
nb-configuration.xml
Expand Down
Loading
Loading