From 90ef6d4e05811a6c10378198aa92239cce2f55ce Mon Sep 17 00:00:00 2001 From: Sadetdin EYILI Date: Sat, 4 Nov 2023 01:16:52 +0100 Subject: [PATCH] chore(github): update GitHub Actions --- .github/workflows/ci.yml | 46 +++++++++++++++++------------------ .github/workflows/guides.yaml | 2 +- .github/workflows/subtree.yml | 2 +- 3 files changed, 25 insertions(+), 25 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 09d47444ab3..86aa49657d8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,7 +18,7 @@ jobs: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 - name: Run commitlint @@ -42,7 +42,7 @@ jobs: fail-fast: false steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup PHP uses: shivammathur/setup-php@v2 with: @@ -68,7 +68,7 @@ jobs: SYMFONY_PHPUNIT_VERSION: '9.5' steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup PHP uses: shivammathur/setup-php@v2 with: @@ -127,7 +127,7 @@ jobs: fail-fast: false steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup PHP uses: shivammathur/setup-php@v2 with: @@ -200,7 +200,7 @@ jobs: fail-fast: false steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup PHP uses: shivammathur/setup-php@v2 with: @@ -231,7 +231,7 @@ jobs: fail-fast: false steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup PHP uses: shivammathur/setup-php@v2 with: @@ -298,7 +298,7 @@ jobs: tests/Fixtures/app/console api:openapi:export -o build/out/openapi/openapi_v3.json tests/Fixtures/app/console api:openapi:export --yaml -o build/out/openapi/openapi_v3.yaml - name: Setup node - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: '14' - name: Validate OpenAPI documents @@ -328,7 +328,7 @@ jobs: PGPASSWORD: apiplatformrocks steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup postgres run: | sudo systemctl start postgresql @@ -384,7 +384,7 @@ jobs: DATABASE_URL: mysql://root:root@127.0.0.1/api_platform_test steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup PHP uses: shivammathur/setup-php@v2 with: @@ -426,7 +426,7 @@ jobs: MONGODB_URL: mongodb://localhost:27017 steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup MongoDB run: | sudo apt update @@ -526,7 +526,7 @@ jobs: - 1337:1337 steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup PHP uses: shivammathur/setup-php@v2 with: @@ -600,7 +600,7 @@ jobs: APP_ENV: elasticsearch steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Configure sysctl limits run: | sudo swapoff -a @@ -651,7 +651,7 @@ jobs: APP_ENV: elasticsearch steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Configure sysctl limits run: | sudo swapoff -a @@ -699,7 +699,7 @@ jobs: fail-fast: false steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup PHP uses: shivammathur/setup-php@v2 with: @@ -737,7 +737,7 @@ jobs: fail-fast: false steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup PHP uses: shivammathur/setup-php@v2 with: @@ -780,7 +780,7 @@ jobs: fail-fast: false steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup PHP uses: shivammathur/setup-php@v2 with: @@ -827,7 +827,7 @@ jobs: DATABASE_URL: sqlite:///%kernel.project_dir%/var/data.db steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup PHP with pre-release PECL extension uses: shivammathur/setup-php@v2 with: @@ -871,7 +871,7 @@ jobs: DATABASE_URL: sqlite:///%kernel.project_dir%/var/data.db steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup PHP with pre-release PECL extension uses: shivammathur/setup-php@v2 with: @@ -910,7 +910,7 @@ jobs: fail-fast: false steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup PHP uses: shivammathur/setup-php@v2 with: @@ -952,7 +952,7 @@ jobs: fail-fast: false steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup PHP uses: shivammathur/setup-php@v2 with: @@ -999,7 +999,7 @@ jobs: fail-fast: false steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup PHP uses: shivammathur/setup-php@v2 with: @@ -1073,7 +1073,7 @@ jobs: fail-fast: false steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup PHP uses: shivammathur/setup-php@v2 with: @@ -1114,7 +1114,7 @@ jobs: tests/Fixtures/app/console api:openapi:export -o build/out/openapi/openapi_v3.json tests/Fixtures/app/console api:openapi:export --yaml -o build/out/openapi/openapi_v3.yaml - name: Setup node - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: '14' - name: Validate OpenAPI documents diff --git a/.github/workflows/guides.yaml b/.github/workflows/guides.yaml index 238617d9999..ccbc15603b2 100644 --- a/.github/workflows/guides.yaml +++ b/.github/workflows/guides.yaml @@ -15,7 +15,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup PHP with pre-release PECL extension uses: shivammathur/setup-php@v2 with: diff --git a/.github/workflows/subtree.yml b/.github/workflows/subtree.yml index b502f4b595e..5758f612411 100644 --- a/.github/workflows/subtree.yml +++ b/.github/workflows/subtree.yml @@ -15,7 +15,7 @@ jobs: split: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 token: ${{ secrets.GH_TOKEN }}