php 8.2 Fitness Functions #225
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: php 8.2 Fitness Functions | |
on: | |
push: | |
branches: | |
- 'main' | |
schedule: | |
- cron: '15 10 * * *' # each day at 10:15 UTC | |
jobs: | |
configured-alpine-is-latest-version: | |
name: "Ensure that Alpine 3.18 is the latest alpine version" | |
env: | |
LATEST_ALPINE_RELEASE: "3.18.3" | |
runs-on: ubuntu-latest | |
steps: | |
- name: Execute | |
run: > | |
docker run --rm alpine cat /etc/os-release | grep $LATEST_ALPINE_RELEASE | |
php82-is-not-the-default-php-on-edge: | |
name: "We need to symlink php82 until php 8.2 is the default php" | |
runs-on: ubuntu-latest | |
steps: | |
- name: Execute | |
run: > | |
! docker run --rm alpine:3.18.3 sh -c 'apk -U add php82 && php -v' | |
packages-not-available-on-alpine-for-release-8-2: | |
name: Package not available on alpine for php 8.2 in community, yet | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
package: | |
- php82-pecl-grpc | |
- php82-pecl-pcov | |
steps: | |
- name: Execute | |
run: "! docker run --rm alpine:3.18.3 apk --no-cache search ${{ matrix.package }} | grep ${{ matrix.package }}" |