Update GitHub Action versions (#930)

pull/931/head
Michele Locati 2024-06-24 12:03:47 +02:00 committed by GitHub
parent 7f57a1ce70
commit 7ccc11b376
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 17 additions and 16 deletions

View File

@ -25,7 +25,7 @@ jobs:
IPETEST_ONLY_PHPVERSIONS: "8.3" IPETEST_ONLY_PHPVERSIONS: "8.3"
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v1 uses: actions/checkout@v4
- name: Test extensions - name: Test extensions
run: ./scripts/ci-test-extensions all run: ./scripts/ci-test-extensions all
- name: Notify failures - name: Notify failures

View File

@ -22,7 +22,7 @@ jobs:
(github.event_name == 'push' && github.ref == 'refs/heads/master') (github.event_name == 'push' && github.ref == 'refs/heads/master')
|| (github.event_name == 'create' && github.event.ref_type == 'tag') || (github.event_name == 'create' && github.event.ref_type == 'tag')
|| github.event_name == 'repository_dispatch' || github.event_name == 'repository_dispatch'
uses: actions/checkout@v2 uses: actions/checkout@v4
with: with:
ref: master ref: master
fetch-depth: 0 fetch-depth: 0

View File

@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v2 uses: actions/checkout@v4
- name: Check order supported extensions list - name: Check order supported extensions list
run: | run: |
sort -o data/supported-extensions.sorted data/supported-extensions sort -o data/supported-extensions.sorted data/supported-extensions
@ -29,13 +29,14 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Install Go - name: Install Go
uses: actions/setup-go@v2 uses: actions/setup-go@v5
with: with:
go-version: "1.21.0" go-version: "1.21.0"
cache: false
- name: Install shfmt - name: Install shfmt
run: GO111MODULE=on go install mvdan.cc/sh/v3/cmd/shfmt@v3.7.0 run: GO111MODULE=on go install mvdan.cc/sh/v3/cmd/shfmt@v3.7.0
- name: Checkout - name: Checkout
uses: actions/checkout@v2 uses: actions/checkout@v4
- name: Check coding style - name: Check coding style
run: ./scripts/invoke-shfmt check run: ./scripts/invoke-shfmt check
check_syntax_php: check_syntax_php:
@ -48,7 +49,7 @@ jobs:
php-version: "7.4" php-version: "7.4"
tools: composer tools: composer
- name: Checkout - name: Checkout
uses: actions/checkout@v2 uses: actions/checkout@v4
- name: Install Composer dependencies - name: Install Composer dependencies
run: composer install --no-progress --classmap-authoritative run: composer install --no-progress --classmap-authoritative
- name: Check coding style - name: Check coding style
@ -84,7 +85,7 @@ jobs:
IPETEST_DOCKER_DISTRO: ${{ matrix.distro }} IPETEST_DOCKER_DISTRO: ${{ matrix.distro }}
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v2 uses: actions/checkout@v4
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Test extensions - name: Test extensions
@ -98,7 +99,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v2 uses: actions/checkout@v4
- run: docker run --rm --volume "$(pwd):/app" --workdir /app php:8.2-bullseye ./scripts/test-restore-apt - run: docker run --rm --volume "$(pwd):/app" --workdir /app php:8.2-bullseye ./scripts/test-restore-apt
test_custom_version: test_custom_version:
name: Test installing specific versions name: Test installing specific versions
@ -118,7 +119,7 @@ jobs:
- ^2.8@stable - ^2.8@stable
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v2 uses: actions/checkout@v4
- run: docker run --rm --volume "$(pwd):/app" --workdir /app php:7.4-alpine ./scripts/test-installversion "${{ matrix.xdebug_version }}" - run: docker run --rm --volume "$(pwd):/app" --workdir /app php:7.4-alpine ./scripts/test-installversion "${{ matrix.xdebug_version }}"
test_composer: test_composer:
name: Test installing composer name: Test installing composer
@ -135,7 +136,7 @@ jobs:
- '2.0.1' - '2.0.1'
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v2 uses: actions/checkout@v4
- run: | - run: |
docker run --rm --volume "$(pwd):/app" --workdir /app php:7.4-alpine ./scripts/test-installcomposer "${{ matrix.composer_version }}" docker run --rm --volume "$(pwd):/app" --workdir /app php:7.4-alpine ./scripts/test-installcomposer "${{ matrix.composer_version }}"
test_marking_packages: test_marking_packages:
@ -152,7 +153,7 @@ jobs:
- buster - buster
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v2 uses: actions/checkout@v4
- run: docker run --rm --volume "$(pwd):/app" --workdir /app "php:7.4-${{ matrix.distro }}" "./scripts/ci-markused-${{ matrix.distro }}" - run: docker run --rm --volume "$(pwd):/app" --workdir /app "php:7.4-${{ matrix.distro }}" "./scripts/ci-markused-${{ matrix.distro }}"
test_instantclient_basic: test_instantclient_basic:
name: Test using Oracle Instant Client Basic name: Test using Oracle Instant Client Basic
@ -164,7 +165,7 @@ jobs:
container: php:8.1-cli-alpine container: php:8.1-cli-alpine
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v3 uses: actions/checkout@v4
- run: IPE_INSTANTCLIENT_BASIC=1 ./install-php-extensions oci8 pdo_oci - run: IPE_INSTANTCLIENT_BASIC=1 ./install-php-extensions oci8 pdo_oci
test_install_fromsource: test_install_fromsource:
name: Test installing from source name: Test installing from source
@ -192,7 +193,7 @@ jobs:
source: php-memcached-dev/php-memcached@v3.2.0RC2 source: php-memcached-dev/php-memcached@v3.2.0RC2
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v3 uses: actions/checkout@v4
- run: ./install-php-extensions ${{ matrix.source }} - run: ./install-php-extensions ${{ matrix.source }}
test_upgrading_icu_data_en: test_upgrading_icu_data_en:
name: Test that icu-data-en can be upgraded name: Test that icu-data-en can be upgraded
@ -203,5 +204,5 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v3 uses: actions/checkout@v4
- run: docker run --rm --volume "$(pwd):/app" --workdir /app php:8.2-cli-alpine ./scripts/test-icu-data-en-upgradable - run: docker run --rm --volume "$(pwd):/app" --workdir /app php:8.2-cli-alpine ./scripts/test-icu-data-en-upgradable

View File

@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v1 uses: actions/checkout@v4
- name: Retrieve recently updated extensions - name: Retrieve recently updated extensions
run: ./scripts/ci-retrieve-recent-extensions >extensions-updated.txt run: ./scripts/ci-retrieve-recent-extensions >extensions-updated.txt
- name: Filter supported extensions - name: Filter supported extensions
@ -58,7 +58,7 @@ jobs:
IPETEST_DOCKER_DISTRO: ${{ matrix.distro }} IPETEST_DOCKER_DISTRO: ${{ matrix.distro }}
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v1 uses: actions/checkout@v4
- name: Loading list of extensions to be tested - name: Loading list of extensions to be tested
uses: actions/download-artifact@v1 uses: actions/download-artifact@v1
with: with: