Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion .github/workflows/backlog-automation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
name: Add issue to project
runs-on: ubuntu-latest
steps:
- uses: actions/add-to-project@v0.4.0
- uses: actions/add-to-project@v2.0.1
with:
project-url: https://github.com/orgs/woocommerce/projects/117
github-token: ${{ secrets.ADD_TO_PROJECT_PAT }}
4 changes: 2 additions & 2 deletions .github/workflows/final-qa-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
environment: Deployment

steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v7

- name: Get NPM Version
id: package-version
Expand Down Expand Up @@ -118,7 +118,7 @@ jobs:

- name: Upload diff output
if: steps.compare.outputs.match == 'false'
uses: actions/upload-artifact@v5
uses: actions/upload-artifact@v7
continue-on-error: true
with:
name: plugin-diff-output
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
run: sudo apt-get install subversion -y

- name: Checkout code
uses: actions/checkout@v5
uses: actions/checkout@v7
with:
fetch-depth: 0

Expand All @@ -58,7 +58,7 @@ jobs:
echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT

- name: Cache Composer dependencies
uses: actions/cache@v3
uses: actions/cache@v6
with:
path: ${{ steps.composer-cache.outputs.dir }}
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
Expand Down Expand Up @@ -178,7 +178,7 @@ jobs:

- name: Upload Coverage to Codecov
if: success()
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v7
with:
file: ./coverage.xml
flags: integration
Expand Down Expand Up @@ -218,7 +218,7 @@ jobs:

- name: Archive Test Results
if: failure()
uses: actions/upload-artifact@v5
uses: actions/upload-artifact@v7
with:
name: test-results-php-${{ matrix.php }}
path: |
Expand All @@ -229,7 +229,7 @@ jobs:

- name: Archive Error Logs
if: failure()
uses: actions/upload-artifact@v5
uses: actions/upload-artifact@v7
with:
name: error-logs-php-${{ matrix.php }}
path: |
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/js-unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v5
uses: actions/checkout@v7

- name: Setup Node.js
uses: actions/setup-node@v4
uses: actions/setup-node@v7
with:
node-version-file: 'package.json'
cache: 'npm'
Expand Down Expand Up @@ -82,7 +82,7 @@ jobs:

- name: Upload coverage reports
if: steps.install.outputs.dependencies_installed == 'true'
uses: actions/upload-artifact@v5
uses: actions/upload-artifact@v7
with:
name: js-coverage-report
path: coverage/coverage-summary.json
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/php-cs-on-changes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
permissions:
contents: read
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v7
with:
fetch-depth: 0

Expand All @@ -30,7 +30,7 @@ jobs:

- name: Get Changed Files
id: changed-files
uses: tj-actions/changed-files@v46
uses: tj-actions/changed-files@v47
with:
files: "**/*.php"

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/php-unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
run: sudo apt-get install subversion -y

- name: Checkout repository
uses: actions/checkout@v5
uses: actions/checkout@v7

- name: Prepare PHP
uses: woocommerce/grow/prepare-php@actions-v1
Expand Down Expand Up @@ -81,7 +81,7 @@ jobs:

- name: Upload coverage reports
if: steps.phpunit.outputs.test_status == 'passed'
uses: actions/upload-artifact@v5
uses: actions/upload-artifact@v7
with:
name: php-coverage-report PHP - ${{ matrix.php }}, WP - ${{ matrix.wp-version }} , WC - ${{ matrix.wc-version }}
path: coverage.xml
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/prepare-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v5
uses: actions/checkout@v7
with:
token: ${{ secrets.GITHUB_TOKEN }}
fetch-depth: 0
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/product-creation-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ jobs:
wc-supported: ${{ steps.versions.outputs.wc-supported }}
steps:
- name: Checkout code
uses: actions/checkout@v5
uses: actions/checkout@v7

- name: Read tested up to versions from plugin file
id: versions
Expand Down Expand Up @@ -167,10 +167,10 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v5
uses: actions/checkout@v7

- name: Setup Node.js
uses: actions/setup-node@v4
uses: actions/setup-node@v7
with:
node-version-file: 'package.json'
cache: 'npm'
Expand Down Expand Up @@ -1193,15 +1193,15 @@ jobs:
echo "✅ No credentials found in any artifact path"

- name: Upload test results
uses: actions/upload-artifact@v5
uses: actions/upload-artifact@v7
if: always()
with:
name: playwright-report-${{ matrix.version-label }}-${{ matrix.test-group }}
path: ${{ env.PLUGIN_PATH }}/playwright-report/
retention-days: 7

- name: Upload captured events
uses: actions/upload-artifact@v5
uses: actions/upload-artifact@v7
if: always()
with:
name: captured-events-${{ matrix.version-label }}-${{ matrix.test-group }}
Expand All @@ -1223,23 +1223,23 @@ jobs:
# They are the artifacts that leaked a live token in T286988560, so their
# exposure window is kept as small as is still useful for debugging.
- name: Upload PHP logs
uses: actions/upload-artifact@v5
uses: actions/upload-artifact@v7
if: failure()
with:
name: php-debug-logs-${{ matrix.version-label }}-${{ matrix.test-group }}
path: ${{ env.WP_DEBUG_LOG }}
retention-days: 2

- name: Upload WooCommerce logs
uses: actions/upload-artifact@v5
uses: actions/upload-artifact@v7
if: failure()
with:
name: woocommerce-logs-${{ matrix.version-label }}-${{ matrix.test-group }}
path: ${{ env.WORDPRESS_PATH }}/wp-content/uploads/wc-logs/facebook_for_woocommerce-*.log
retention-days: 2

- name: Upload test videos/screenshots
uses: actions/upload-artifact@v5
uses: actions/upload-artifact@v7
if: failure()
with:
name: test-failures-${{ matrix.version-label }}-${{ matrix.test-group }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release-plugin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest
environment: Deployment
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v7

- name: Get NPM Version
id: package-version
Expand All @@ -30,7 +30,7 @@ jobs:
tools: composer

- name: Setup Node.js
uses: actions/setup-node@v4
uses: actions/setup-node@v7
with:
node-version-file: 'package.json'
cache-dependency-path: './package-lock.json'
Expand Down Expand Up @@ -77,7 +77,7 @@ jobs:
run: unzip facebook-for-woocommerce.zip -d artifact-contents

- name: Store built plugin
uses: actions/upload-artifact@v5
uses: actions/upload-artifact@v7
with:
name: facebook-for-woocommerce
path: artifact-contents/facebook-for-woocommerce
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/set-stable-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
outputs:
version: ${{ steps.package-version.outputs.current-version }}
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v7

- name: Fail if not on a release publish branch
run: |
Expand Down Expand Up @@ -229,7 +229,7 @@ jobs:
env:
VERSION: ${{ needs.set-stable-tag.outputs.version }}
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v7
with:
ref: release/${{ needs.set-stable-tag.outputs.version }}

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/shared-build-plugin-artifact.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
pull-requests: write

steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v7
with:
ref: ${{ inputs.ref }}

Expand All @@ -31,7 +31,7 @@ jobs:
tools: composer

- name: Setup Node.js
uses: actions/setup-node@v4
uses: actions/setup-node@v7
with:
node-version-file: 'package.json'
cache-dependency-path: './package-lock.json'
Expand All @@ -49,7 +49,7 @@ jobs:
run: unzip facebook-for-woocommerce.zip -d artifact-contents

- name: Store built plugin
uses: actions/upload-artifact@v5
uses: actions/upload-artifact@v7
continue-on-error: true
with:
name: facebook-for-woocommerce
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/validate-npm-lockfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v5
uses: actions/checkout@v7

- name: Setup Node.js
uses: actions/setup-node@v4
uses: actions/setup-node@v7
with:
node-version-file: package.json
cache: npm
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"require": {
"php": ">=7.4",
"woocommerce/action-scheduler-job-framework": "2.0.0",
"composer/installers": "~1.0",
"composer/installers": "~2.3",
"woocommerce/grow": "dev-compat-checker",
"facebook/capi-param-builder-php": "^1.3.0"
},
Expand Down
2 changes: 1 addition & 1 deletion composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading