From b7fa68df36fab2e06cfddbe0700bc4d1561262f9 Mon Sep 17 00:00:00 2001 From: Robin Windey Date: Wed, 19 Oct 2022 22:57:22 +0200 Subject: [PATCH] [DEVOPS] Update checkout action to v3 (#155) * [DEVOPS] Update checkout action to v3 * Test against postgres14 --- .github/workflows/build.yml | 2 +- .github/workflows/build_release.yml | 2 +- .github/workflows/codecov.yml | 4 ++-- .github/workflows/lint-fix.yml | 2 +- .github/workflows/lint.yml | 2 +- .github/workflows/phpunit.yml | 14 +++++++------- 6 files changed, 13 insertions(+), 13 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b9ded33..ef0d99a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -12,7 +12,7 @@ jobs: runs-on: ubuntu-20.04 steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: path: ${{ env.APP_NAME }} diff --git a/.github/workflows/build_release.yml b/.github/workflows/build_release.yml index 5249976..ff39b09 100644 --- a/.github/workflows/build_release.yml +++ b/.github/workflows/build_release.yml @@ -12,7 +12,7 @@ jobs: runs-on: ubuntu-20.04 steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: path: ${{ env.APP_NAME }} diff --git a/.github/workflows/codecov.yml b/.github/workflows/codecov.yml index b626dbf..1adacef 100644 --- a/.github/workflows/codecov.yml +++ b/.github/workflows/codecov.yml @@ -26,7 +26,7 @@ jobs: steps: - name: Checkout server - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: repository: nextcloud/server ref: ${{ matrix.server-versions }} @@ -39,7 +39,7 @@ jobs: git -c "http.extraheader=$auth_header" -c protocol.version=2 submodule update --init --force --recursive --depth=1 - name: Checkout app - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: path: apps/${{ env.APP_NAME }} fetch-depth: 0 diff --git a/.github/workflows/lint-fix.yml b/.github/workflows/lint-fix.yml index 934e8e8..cae3162 100644 --- a/.github/workflows/lint-fix.yml +++ b/.github/workflows/lint-fix.yml @@ -14,7 +14,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: ref: ${{ github.head_ref }} diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index f48edd0..e80a421 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -20,7 +20,7 @@ jobs: name: php${{ matrix.php-versions }}-LINT steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Set up php ${{ matrix.php-versions }} uses: shivammathur/setup-php@v2 diff --git a/.github/workflows/phpunit.yml b/.github/workflows/phpunit.yml index 936ac59..ddfd9b6 100644 --- a/.github/workflows/phpunit.yml +++ b/.github/workflows/phpunit.yml @@ -26,7 +26,7 @@ jobs: steps: - name: Checkout server - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: repository: nextcloud/server ref: ${{ matrix.server-versions }} @@ -39,7 +39,7 @@ jobs: git -c "http.extraheader=$auth_header" -c protocol.version=2 submodule update --init --force --recursive --depth=1 - name: Checkout app - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: path: apps/${{ env.APP_NAME }} @@ -91,7 +91,7 @@ jobs: steps: - name: Checkout server - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: repository: nextcloud/server ref: ${{ matrix.server-versions }} @@ -104,7 +104,7 @@ jobs: git -c "http.extraheader=$auth_header" -c protocol.version=2 submodule update --init --force --recursive --depth=1 - name: Checkout app - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: path: apps/${{ env.APP_NAME }} @@ -147,7 +147,7 @@ jobs: services: postgres: - image: postgres + image: postgres:14 ports: - 4444:5432/tcp env: @@ -158,7 +158,7 @@ jobs: steps: - name: Checkout server - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: repository: nextcloud/server ref: ${{ matrix.server-versions }} @@ -171,7 +171,7 @@ jobs: git -c "http.extraheader=$auth_header" -c protocol.version=2 submodule update --init --force --recursive --depth=1 - name: Checkout app - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: path: apps/${{ env.APP_NAME }}