Skip to content

Commit 1de00c1

Browse files
committed
update to ubuntu-latest
1 parent c916e1a commit 1de00c1

File tree

12 files changed

+32
-895
lines changed

12 files changed

+32
-895
lines changed

.gitattributes

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
bin export-ignore
2+
tests export-ignore
3+
vendor export-ignore
4+
5+
.editorconfig export-ignore
6+
.gitattributes export-ignore
7+
.gitignore export-ignore
8+
.github export-ignore
9+
.travis.yml export-ignore
10+
.phpunit.result.cache export-ignore
11+
composer.lock export-ignore
12+
LICENSE.md export-ignore
13+
phpcs.xml export-ignore
14+
README.md export-ignore
15+
Explanation.md export-ignore
16+
phpunit.xml.dist export-ignore
17+
phpcs.xml.dist export-ignore
18+
readme.md export-ignore

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 0 additions & 51 deletions
This file was deleted.

.github/ISSUE_TEMPLATE/enhancement.md

Lines changed: 0 additions & 19 deletions
This file was deleted.

.github/ISSUE_TEMPLATE/new-feature.md

Lines changed: 0 additions & 23 deletions
This file was deleted.

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 0 additions & 69 deletions
This file was deleted.

.github/workflows/code-checks.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ on:
1111
jobs:
1212
# Run php tests.
1313
php-tests:
14-
runs-on: ubuntu-22.04
14+
runs-on: ubuntu-latest
1515
if: "!contains(github.event.head_commit.message, 'ci skip')"
1616
strategy:
1717
matrix:
@@ -31,9 +31,6 @@ jobs:
3131
- name: Validate composer.json
3232
run: composer validate
3333

34-
- name: show files
35-
run: ls -la
36-
3734
- name: Cache Composer dependencies
3835
id: composer-cache
3936
uses: actions/cache@v3
@@ -51,6 +48,9 @@ jobs:
5148
with:
5249
composer-options: -q -n -a --no-progress --prefer-dist
5350

51+
- name: Composer update
52+
run: composer update
53+
5454
# Run composer script to run php syntax checks.
5555
- name: Run Check PHP Syntax
5656
run: composer phpcs:fix

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,4 @@ node_modules
1111
assets/css
1212
assets/js/**/*.js
1313
!assets/js/src/**/*.js
14+
composer.lock

composer.json

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,6 @@
3535
"phpcompatibility/phpcompatibility-wp": "*"
3636
},
3737
"config": {
38-
"vendor-dir": "vendor",
39-
"preferred-install": "dist",
40-
"sort-packages": true,
41-
"platform": {
42-
"php": "7.4"
43-
},
4438
"allow-plugins": {
4539
"dealerdirect/phpcodesniffer-composer-installer": true
4640
}

0 commit comments

Comments
 (0)