diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 47259a16a50..f75c03335f3 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -33,13 +33,13 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest] - php: ['5.4', '5.5', '5.6', '7.0', '7.1', '7.2', '7.3', '7.4', '8.0', '8.1'] + php: [5.4, 5.5, 5.6, 7.0, 7.1, 7.2, 7.3, 7.4, 8.0, 8.1] steps: - name: Generate french locale run: sudo locale-gen fr_FR.UTF-8 - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Install PHP uses: shivammathur/setup-php@v2 with: @@ -53,7 +53,7 @@ jobs: id: composer-cache run: echo "::set-output name=dir::$(composer config cache-files-dir)" - name: Cache composer dependencies - uses: actions/cache@v1 + uses: actions/cache@v3 with: path: ${{ steps.composer-cache.outputs.dir }} key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }} @@ -84,7 +84,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Install PHP uses: shivammathur/setup-php@v2 with: @@ -94,7 +94,7 @@ jobs: id: composer-cache run: echo "::set-output name=dir::$(composer config cache-files-dir)" - name: Cache composer dependencies - uses: actions/cache@v1 + uses: actions/cache@v3 with: path: ${{ steps.composer-cache.outputs.dir }} key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }} diff --git a/.github/workflows/ci-mssql.yml b/.github/workflows/ci-mssql.yml index 232eb290791..f8ad3eff475 100644 --- a/.github/workflows/ci-mssql.yml +++ b/.github/workflows/ci-mssql.yml @@ -16,30 +16,30 @@ jobs: strategy: matrix: include: - - php: '7.0' + - php: 7.0 extensions: pdo, pdo_sqlsrv-5.8.1 - mssql: 'server:2017-latest' - - php: '7.1' + mssql: server:2017-latest + - php: 7.1 extensions: pdo, pdo_sqlsrv-5.8.1 - mssql: 'server:2017-latest' - - php: '7.2' + mssql: server:2017-latest + - php: 7.2 extensions: pdo, pdo_sqlsrv-5.8.1 - mssql: 'server:2017-latest' - - php: '7.3' + mssql: server:2017-latest + - php: 7.3 extensions: pdo, pdo_sqlsrv-5.8.1 - mssql: 'server:2017-latest' - - php: '7.4' + mssql: server:2017-latest + - php: 7.4 extensions: pdo, pdo_sqlsrv - mssql: 'server:2017-latest' - - php: '7.4' + mssql: server:2017-latest + - php: 7.4 extensions: pdo, pdo_sqlsrv - mssql: 'server:2019-latest' - - php: '8.0' + mssql: server:2019-latest + - php: 8.0 extensions: pdo, pdo_sqlsrv - mssql: 'server:2017-latest' - - php: '8.0' + mssql: server:2017-latest + - php: 8.0 extensions: pdo, pdo_sqlsrv - mssql: 'server:2019-latest' + mssql: server:2019-latest services: mssql: @@ -54,7 +54,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v2.3.4 + uses: actions/checkout@v3 - name: Create MS SQL Database run: docker exec -i mssql /opt/mssql-tools/bin/sqlcmd -S localhost -U SA -P 'YourStrong!Passw0rd' -Q 'CREATE DATABASE yiitest' @@ -71,7 +71,7 @@ jobs: run: echo "COMPOSER_CACHE_DIR=$(composer config cache-dir)" >> $GITHUB_ENV - name: Cache dependencies installed with composer - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: ${{ env.COMPOSER_CACHE_DIR }} key: php${{ matrix.php }}-composer-${{ hashFiles('**/composer.json') }} diff --git a/.github/workflows/ci-mysql.yml b/.github/workflows/ci-mysql.yml index de0a5e1a44f..639609b0e84 100644 --- a/.github/workflows/ci-mysql.yml +++ b/.github/workflows/ci-mysql.yml @@ -19,10 +19,10 @@ jobs: - ubuntu-latest php-version: - - "7.4" + - 7.4 mysql-version: - - "latest" + - latest services: mysql: @@ -36,7 +36,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Setup cache environment id: cache-env @@ -47,7 +47,7 @@ jobs: key: ${{ env.key }} - name: Cache extensions - uses: actions/cache@v1 + uses: actions/cache@v3 with: path: ${{ steps.cache-env.outputs.dir }} key: ${{ steps.cache-env.outputs.key }} diff --git a/.github/workflows/ci-oracle.yml b/.github/workflows/ci-oracle.yml index 0a3b1ba0657..d6c9db0f428 100644 --- a/.github/workflows/ci-oracle.yml +++ b/.github/workflows/ci-oracle.yml @@ -20,7 +20,7 @@ jobs: - ubuntu-latest php: - - "7.4" + - 7.4 services: oci: @@ -31,7 +31,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Setup cache environment id: cache-env @@ -61,7 +61,7 @@ jobs: run: echo "COMPOSER_CACHE_DIR=$(composer config cache-dir)" >> $GITHUB_ENV - name: Cache dependencies installed with composer - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: ${{ env.COMPOSER_CACHE_DIR }} key: php${{ matrix.php }}-composer-${{ hashFiles('**/composer.json') }} diff --git a/.github/workflows/ci-pgsql.yml b/.github/workflows/ci-pgsql.yml index b934f6ab791..7bfa4d44659 100644 --- a/.github/workflows/ci-pgsql.yml +++ b/.github/workflows/ci-pgsql.yml @@ -19,13 +19,14 @@ jobs: - ubuntu-latest php-version: - - "7.4" + - 7.4 pgsql-version: - - "10" - - "11" - - "12" - - "13" + - 10 + - 11 + - 12 + - 13 + - 14 services: postgres: @@ -40,7 +41,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Setup cache environment id: cache-env @@ -70,7 +71,7 @@ jobs: run: echo "COMPOSER_CACHE_DIR=$(composer config cache-dir)" >> $GITHUB_ENV - name: Cache dependencies installed with composer - uses: actions/cache@v1 + uses: actions/cache@v3 with: path: ${{ env.COMPOSER_CACHE_DIR }} key: php${{ matrix.php-version }}-composer-${{ matrix.dependencies }}-${{ hashFiles('**/composer.json') }}