Skip to content

Commit

Permalink
updated actions/checkout to v4 and actions/upload-artifact to v4
Browse files Browse the repository at this point in the history
Signed-off-by: Alexander Piskun <bigcat88@icloud.com>
  • Loading branch information
oleksandr-nc authored and bigcat88 committed Nov 11, 2024
1 parent c17553e commit 03803e3
Show file tree
Hide file tree
Showing 6 changed files with 42 additions and 42 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docs-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: '3.10'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: '3.10'
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
name: info.xml lint

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Download xml appinfo schema
run: wget https://raw.githubusercontent.com/nextcloud/appstore/master/nextcloudappstore/api/v1/release/info.xsd
Expand All @@ -38,7 +38,7 @@ jobs:
php-versions: ["8.1"]

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@v2
Expand All @@ -57,7 +57,7 @@ jobs:
php-versions: ["8.1"]

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@v2
Expand All @@ -79,7 +79,7 @@ jobs:
name: php-psalm-analysis

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@v2
with:
Expand All @@ -100,7 +100,7 @@ jobs:
security-events: write
name: security analysis
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: recursive

Expand All @@ -121,7 +121,7 @@ jobs:
name: eslint

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Install dependencies
run: npm ci

Expand All @@ -134,7 +134,7 @@ jobs:
name: stylelint

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Install dependencies
run: npm ci

Expand Down
38 changes: 19 additions & 19 deletions .github/workflows/tests-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,23 +116,23 @@ jobs:

- name: Upload Container info
if: always()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: nc_host_app_docker_${{ matrix.server-version }}_${{ matrix.php-version }}_container.json
path: container.json
if-no-files-found: warn

- name: Upload Container logs
if: always()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: nc_host_app_docker_${{ matrix.server-version }}_${{ matrix.php-version }}_container.log
path: container.log
if-no-files-found: warn

- name: Upload NC logs
if: always()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: nc_host_app_docker_${{ matrix.server-version }}_${{ matrix.php-version }}_nextcloud.log
path: data/nextcloud.log
Expand Down Expand Up @@ -192,23 +192,23 @@ jobs:
- name: Upload Container info
if: always()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: nc_docker_app_docker_container.json
path: container.json
if-no-files-found: warn

- name: Upload Container logs
if: always()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: nc_docker_app_docker_container.log
path: container.log
if-no-files-found: warn

- name: Upload NC logs
if: always()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: nc_docker_app_docker_nextcloud.log
path: nextcloud.log
Expand Down Expand Up @@ -271,23 +271,23 @@ jobs:
- name: Upload Container info
if: always()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: dsp_http_container.json
path: container.json
if-no-files-found: warn

- name: Upload Container logs
if: always()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: dsp_http_container.log
path: container.log
if-no-files-found: warn

- name: Upload NC logs
if: always()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: dsp_http_nextcloud.log
path: nextcloud.log
Expand Down Expand Up @@ -366,31 +366,31 @@ jobs:
- name: Upload HaProxy logs
if: always()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: dsp_https_haproxy.log
path: haproxy.log
if-no-files-found: warn

- name: Upload Container info
if: always()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: dsp_https_container.json
path: container.json
if-no-files-found: warn

- name: Upload Container logs
if: always()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: dsp_https_container.log
path: container.log
if-no-files-found: warn

- name: Upload NC logs
if: always()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: dsp_https_nextcloud.log
path: nextcloud.log
Expand Down Expand Up @@ -514,23 +514,23 @@ jobs:
- name: Upload Container info
if: always()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: nc_host_app_docker_redis_master_8.3_container.json
path: container.json
if-no-files-found: warn

- name: Upload Container logs
if: always()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: nc_host_app_docker_redis_master_8.3_container.log
path: container.log
if-no-files-found: warn

- name: Upload NC logs
if: always()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: nc_host_app_docker_redis_master_8.3_nextcloud.log
path: data/nextcloud.log
Expand Down Expand Up @@ -634,23 +634,23 @@ jobs:

- name: Upload Container info
if: always()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: nc_host_network_host_master_8.2_container.json
path: container.json
if-no-files-found: warn

- name: Upload Container logs
if: always()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: nc_host_network_host_master_8.2_container.log
path: container.log
if-no-files-found: warn

- name: Upload NC logs
if: always()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: nc_host_network_host_master_8.2_nextcloud.log
path: data/nextcloud.log
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/tests-special.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ jobs:
run: PHP_CLI_SERVER_WORKERS=2 php -S 127.0.0.1:8080 &

- name: Checkout NcPyApi
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
path: nc_py_api
repository: cloud-py-api/nc_py_api
Expand All @@ -119,7 +119,7 @@ jobs:

- name: Upload NC logs
if: always()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: install_no_init.log
path: data/nextcloud.log
Expand Down
24 changes: 12 additions & 12 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:
ref: ${{ matrix.server-version }}

- name: Checkout Notifications
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: nextcloud/notifications
ref: ${{ matrix.server-version }}
Expand Down Expand Up @@ -120,7 +120,7 @@ jobs:
run: PHP_CLI_SERVER_WORKERS=2 php -S 127.0.0.1:8080 &

- name: Checkout NcPyApi
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
path: nc_py_api
repository: cloud-py-api/nc_py_api
Expand All @@ -146,7 +146,7 @@ jobs:

- name: Upload NC logs
if: always()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: pgsql_nc_py_api_${{ matrix.server-version }}_${{ matrix.php-version }}_nextcloud.log
path: data/nextcloud.log
Expand Down Expand Up @@ -181,7 +181,7 @@ jobs:
ref: master

- name: Checkout Notifications
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: nextcloud/notifications
ref: master
Expand Down Expand Up @@ -233,7 +233,7 @@ jobs:
run: PHP_CLI_SERVER_WORKERS=2 php -S 127.0.0.1:8080 &

- name: Checkout NcPyApi
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
path: nc_py_api
repository: cloud-py-api/nc_py_api
Expand All @@ -259,7 +259,7 @@ jobs:

- name: Upload NC logs
if: always()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: mysql_nc_py_api_master_8.3_nextcloud.log
path: data/nextcloud.log
Expand Down Expand Up @@ -294,7 +294,7 @@ jobs:
ref: master

- name: Checkout Notifications
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: nextcloud/notifications
ref: master
Expand Down Expand Up @@ -349,7 +349,7 @@ jobs:
run: PHP_CLI_SERVER_WORKERS=2 php -S 127.0.0.1:8080 &

- name: Checkout NcPyApi
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
path: nc_py_api
repository: cloud-py-api/nc_py_api
Expand All @@ -375,7 +375,7 @@ jobs:

- name: Upload NC logs
if: always()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: apcu_mysql_nc_py_api_master_8.3_nextcloud.log
path: data/nextcloud.log
Expand Down Expand Up @@ -420,7 +420,7 @@ jobs:
ref: ${{ matrix.server-version }}

- name: Checkout Notifications
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: nextcloud/notifications
ref: ${{ matrix.server-version }}
Expand Down Expand Up @@ -465,7 +465,7 @@ jobs:
run: PHP_CLI_SERVER_WORKERS=2 php -S 127.0.0.1:8080 &

- name: Checkout NcPyApi
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
path: nc_py_api
repository: cloud-py-api/nc_py_api
Expand All @@ -491,7 +491,7 @@ jobs:

- name: Upload NC logs
if: always()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: oci_nc_py_api_${{ matrix.server-version }}_8.3_nextcloud.log
path: data/nextcloud.log
Expand Down

0 comments on commit 03803e3

Please sign in to comment.