Skip to content

php 8.3 Fitness Functions #88

php 8.3 Fitness Functions

php 8.3 Fitness Functions #88

name: php 8.3 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.19.0 is the latest 3.19 alpine version"
env:
LATEST_ALPINE_RELEASE: "3.19.0"
runs-on: ubuntu-latest
steps:
- name: Execute
run: >
docker run --pull always --rm alpine:3.19 cat /etc/os-release | grep $LATEST_ALPINE_RELEASE
php83-is-not-the-default-php-on-edge:
name: "We need to symlink php83 until php 8.3 is the default php"
runs-on: ubuntu-latest
steps:
- name: Execute
run: >
! docker run --pull always --rm alpine:3.19 sh -c 'apk -U add php83 && php -v'
packages-not-available-on-alpine-for-release-8-3:
name: Package not available on alpine for php 8.3 in community, yet
runs-on: ubuntu-latest
strategy:
matrix:
package:
- php83-pecl-protobuf
- php83-pecl-imagick
steps:
- name: Execute
run: "! docker run --pull always --rm alpine:3.19 apk --no-cache search ${{ matrix.package }} | grep ${{ matrix.package }}"