Files
ansible-freeipa/.github/workflows
Rafael Guterres Jeffman 60905ef5bf upstream ci: Update Github actions
Github actions checkout v3.1.0 and setup-python v4.3.0 use deprecated
Node.js 16.

Bumping version to checkout v4.1.1 and setup-python v5.1.0 fixes the
workflows, as both use the recommended Node.js 20.

The checkout depth has been set to 1 (shallow copy) for all tasks that
do not require git history to be available.
2024-05-22 10:40:49 -03:00
..
2024-05-22 10:40:49 -03:00
2024-05-22 10:40:49 -03:00
2024-05-22 10:40:49 -03:00

---
name: readme test
on:
  - push
  - pull_request
jobs:
  ansible_test:
    name: Verify readme
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4.1.1
        with:
          fetch-depth: 1
      - name: Run readme test
        run: |
          error=0
          for i in roles/ipa*/README.md README-*.md; do grep -q $i README.md && echo "OK: $i" || { echo -e "\033[31;1mERROR: ${i} missing\033[0m"; error=1; } done
          exit $error