From 04330d1e0498f0e01f973553277378bd90f16558 Mon Sep 17 00:00:00 2001
From: Austin Passy <367897+thefrosty@users.noreply.github.com>
Date: Tue, 30 Jan 2024 13:59:12 -0800
Subject: [PATCH] Update GitHub Actions dependencies (#80)
* Move Phpcs config to the top.
* Update Actions publish workflow dependencies to latest versions.
---
.github/workflows/publish.yml | 6 +++---
phpcs-ruleset.xml | 4 ++--
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml
index 498ef46..b5ca299 100644
--- a/.github/workflows/publish.yml
+++ b/.github/workflows/publish.yml
@@ -53,12 +53,12 @@ jobs:
mkdir build
- name: Create artifact
- uses: montudor/action-zip@v0.1.1
+ uses: montudor/action-zip@v1
with:
args: zip -X -r build/wp-login-locker.zip . -x *.git* bin** node_modules/\* .* "*/\.*" *.dist *.xml composer.* package*.json tests** build**
- name: Upload artifact
- uses: actions/upload-artifact@v2
+ uses: actions/upload-artifact@v4
with:
name: wp-login-locker
path: build/wp-login-locker.zip
@@ -72,7 +72,7 @@ jobs:
- name: Duplicate asset for GitHub Updater
# @see https://github.com/afragen/github-updater/wiki/Settings#release-assets
- uses: montudor/action-zip@v0.1.1
+ uses: montudor/action-zip@v1
with:
args: zip -X -r build/wp-login-locker-${{ env.RELEASE_VERSION }}.zip . -x *.git* bin** node_modules/\* .* "*/\.*" *.dist *.xml composer.* package*.json tests** build**
diff --git a/phpcs-ruleset.xml b/phpcs-ruleset.xml
index 33ca698..b226a54 100644
--- a/phpcs-ruleset.xml
+++ b/phpcs-ruleset.xml
@@ -24,6 +24,8 @@
+
+
@@ -36,6 +38,4 @@
-
-