php 8.2-ubuntu Fitness Functions #333
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-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 |