Skip to content

Bump actions/checkout from 4.0.0 to 4.1.0 #2320

Bump actions/checkout from 4.0.0 to 4.1.0

Bump actions/checkout from 4.0.0 to 4.1.0 #2320

Workflow file for this run

name: Validate
on: [push, pull_request]
jobs:
validate-docs:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- name: Validate Documentation
run: |
dirname -- $(grep -Rl 'deprecated: "true"' compose/) | xargs rm -rf
for image in $(ls compose/.apps/); do
if ! ls -d docs/apps/* | grep -q "docs/apps/${image}.md"; then
echo "Missing documentation for ${image}"
exit 1
fi
if ! grep -q "apps/${image}.md" mkdocs.yml; then
echo "Missing link for ${image}"
exit 1
fi
done
validate-images:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- name: Validate Images
run: |
dirname -- $(grep -Rl 'deprecated: "true"' compose/) | xargs rm -rf
for image in $(grep -RPoh "image: \K.*" compose/ | sort -u | grep -v '${'); do
echo "Image: ${image}"
if [[ ${image} != *":"* ]]; then
image="${image}:latest"
fi
docker run --rm mplatform/mquery "${image}"
done