php 8.1-ubuntu Fitness Functions #231
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.1-ubuntu Fitness Functions | |
on: | |
push: | |
branches: | |
- 'main' | |
schedule: | |
- cron: '15 10 * * *' # each day at 10:15 UTC | |
jobs: | |
configured-ubuntu-is-latest-version: | |
name: "Ensure that Ubuntu is the latest supported version" | |
env: | |
LATEST_UBUNTU_RELEASE: "24.04" | |
runs-on: ubuntu-latest | |
steps: | |
- name: Execute | |
run: > | |
docker run --pull always --rm ubuntu:latest cat /etc/os-release | grep $LATEST_UBUNTU_RELEASE | |
noble-is-not-available-for-nginx-unit-yet: | |
name: "Ensure we cannot get a noble package from nginx unit" | |
runs-on: ubuntu-latest | |
steps: | |
- name: Execute | |
run: "! curl -Ss https://packages.nginx.org/unit/ubuntu/dists/ | grep noble" |