Skip to content

Commit

Permalink
build(.github) update workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
lucatume committed Dec 7, 2023
1 parent 95eba3b commit f07057c
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 49 deletions.
37 changes: 0 additions & 37 deletions .github/workflows/docs.yml

This file was deleted.

6 changes: 3 additions & 3 deletions .github/workflows/phpcbf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,19 @@ on: # yamllint disable-line rule:truthy
- 'includes/**'
- '.github/workflows/phpcbf.yml'
branches:
- master
- v3.5

jobs:
php-codesniffer:
name: "PHPCBF automatically fix violations"
name: "v3.5 PHPCBF automatically fix violations"
runs-on: "ubuntu-22.04"
permissions:
contents: write
steps:
- name: "Set up PHP"
uses: "shivammathur/setup-php@v2"
with:
php-version: "8.0"
php-version: "7.4"
coverage: "none"
- name: "Checkout repository"
uses: "actions/checkout@v3"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/spelling.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on: # yamllint disable-line rule:truthy
pull_request: null
push:
branches:
- "master"
- "v3.5"

permissions:
contents: "read"
Expand All @@ -17,7 +17,7 @@ concurrency:

jobs:
typos_check:
name: "文A Typos check"
name: "v3.5 文A Typos check"
runs-on: "ubuntu-22.04"
timeout-minutes: 1
steps:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/static-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ on: # yamllint disable-line rule:truthy
- 'composer.json'
- '.github/workflows/static-analysis.yml'
branches:
- "master"
- "v3.5"

permissions:
contents: "read"
Expand All @@ -29,13 +29,13 @@ concurrency:

jobs:
static_analysis:
name: "Static Analysis"
name: "v3.5 Static Analysis"
runs-on: "ubuntu-22.04"
steps:
- name: "Set up PHP"
uses: "shivammathur/setup-php@v2"
with:
php-version: "8.0"
php-version: "7.4"
coverage: "none"
- name: "Checkout repository"
uses: "actions/checkout@v3"
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ on: # yamllint disable-line rule:truthy
- 'composer.json'
- '.github/workflows/test.yaml'
branches:
- "master"
- "v3.5"

permissions:
contents: "read"
Expand All @@ -31,7 +31,7 @@ jobs:
test:
strategy:
matrix:
php_version: [ '8.0', '8.1', '8.2' ]
php_version: [ '7.1', '7.2', '7.3', '7.4' ]
suite:
- acceptance
- climodule
Expand All @@ -43,7 +43,7 @@ jobs:
- wploader_multisite
- wploader_wpdb_interaction
- wploadersuite
name: ${{ matrix.suite }} php@${{ matrix.php_version }}
name: v3.5 ${{ matrix.suite }} php@${{ matrix.php_version }}
runs-on: ubuntu-22.04
steps:
- name: Checkout
Expand Down Expand Up @@ -93,7 +93,7 @@ jobs:
uses: actions/upload-artifact@v2
if: ${{ failure() }}
with:
name: ${{ matrix.suite }}-php@${{ matrix.php_version }}-screenshots
name: v3.5-${{ matrix.suite }}-php@${{ matrix.php_version }}-screenshots
path: |
var/_output/*.html
var/_output/*.png
Expand Down

0 comments on commit f07057c

Please sign in to comment.