diff --git a/.github/workflows/almalinux-8.yml b/.github/workflows/almalinux-8.yml index d991c72..45e86f2 100644 --- a/.github/workflows/almalinux-8.yml +++ b/.github/workflows/almalinux-8.yml @@ -14,7 +14,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Obtain sources - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Test Galaxy role run: > CONT_ID=$(podman run --rm -v ${{ github.workspace }}:/repo -v /sys/fs/cgroup:/sys/fs/cgroup:ro diff --git a/.github/workflows/almalinux-9.yml b/.github/workflows/almalinux-9.yml index 196acff..86300ce 100644 --- a/.github/workflows/almalinux-9.yml +++ b/.github/workflows/almalinux-9.yml @@ -14,7 +14,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Obtain sources - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Test Galaxy role run: > CONT_ID=$(podman run --rm -v ${{ github.workspace }}:/repo -v /sys/fs/cgroup:/sys/fs/cgroup:ro diff --git a/.github/workflows/fedora-38.yml b/.github/workflows/fedora-40.yml similarity index 89% rename from .github/workflows/fedora-38.yml rename to .github/workflows/fedora-40.yml index 1c250c7..6006b5d 100644 --- a/.github/workflows/fedora-38.yml +++ b/.github/workflows/fedora-40.yml @@ -1,5 +1,5 @@ --- -name: Fedora 38 +name: Fedora 40 on: # yamllint disable-line rule:truthy push: @@ -14,11 +14,11 @@ jobs: runs-on: ubuntu-latest steps: - name: Obtain sources - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Test Galaxy role run: > CONT_ID=$(podman run --rm -v ${{ github.workspace }}:/repo -v /sys/fs/cgroup:/sys/fs/cgroup:ro - --tmpfs /tmp --tmpfs /run --privileged --detach bviktor/ansible-systemd-fedora:38) && + --tmpfs /tmp --tmpfs /run --privileged --detach bviktor/ansible-systemd-fedora:40) && podman exec ${CONT_ID} /bin/bash -c "if [ -f requirements.yml ]; then ansible-galaxy role install --force -r requirements.yml -p ..; fi && ANSIBLE_ROLES_PATH=.. ANSIBLE_FORCE_COLOR=true ansible-playbook tests/main.yml" && diff --git a/.github/workflows/fedora-39.yml b/.github/workflows/fedora-41.yml similarity index 89% rename from .github/workflows/fedora-39.yml rename to .github/workflows/fedora-41.yml index db9ace4..2930d57 100644 --- a/.github/workflows/fedora-39.yml +++ b/.github/workflows/fedora-41.yml @@ -1,5 +1,5 @@ --- -name: Fedora 39 +name: Fedora 41 on: # yamllint disable-line rule:truthy push: @@ -14,11 +14,11 @@ jobs: runs-on: ubuntu-latest steps: - name: Obtain sources - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Test Galaxy role run: > CONT_ID=$(podman run --rm -v ${{ github.workspace }}:/repo -v /sys/fs/cgroup:/sys/fs/cgroup:ro - --tmpfs /tmp --tmpfs /run --privileged --detach bviktor/ansible-systemd-fedora:39) && + --tmpfs /tmp --tmpfs /run --privileged --detach bviktor/ansible-systemd-fedora:41) && podman exec ${CONT_ID} /bin/bash -c "if [ -f requirements.yml ]; then ansible-galaxy role install --force -r requirements.yml -p ..; fi && ANSIBLE_ROLES_PATH=.. ANSIBLE_FORCE_COLOR=true ansible-playbook tests/main.yml" && diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index f8f9a45..61414dd 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -14,7 +14,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Obtain sources - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Lint sources run: > podman run --rm -v ${{ github.workspace }}:/repo bviktor/ansible-systemd-lint:latest /bin/bash -c diff --git a/.github/workflows/ubuntu-20.04.yml b/.github/workflows/ubuntu-20.04.yml index 0f6b8b7..93705ea 100644 --- a/.github/workflows/ubuntu-20.04.yml +++ b/.github/workflows/ubuntu-20.04.yml @@ -14,7 +14,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Obtain sources - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Test Galaxy role run: > CONT_ID=$(podman run --rm -v ${{ github.workspace }}:/repo -v /sys/fs/cgroup:/sys/fs/cgroup:ro diff --git a/.github/workflows/ubuntu-22.04.yml b/.github/workflows/ubuntu-22.04.yml index 72340a4..3686b5d 100644 --- a/.github/workflows/ubuntu-22.04.yml +++ b/.github/workflows/ubuntu-22.04.yml @@ -14,7 +14,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Obtain sources - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Test Galaxy role run: > CONT_ID=$(podman run --rm -v ${{ github.workspace }}:/repo -v /sys/fs/cgroup:/sys/fs/cgroup:ro diff --git a/.github/workflows/ubuntu-18.04.yml b/.github/workflows/ubuntu-24.04.yml similarity index 88% rename from .github/workflows/ubuntu-18.04.yml rename to .github/workflows/ubuntu-24.04.yml index ae7454a..76be625 100644 --- a/.github/workflows/ubuntu-18.04.yml +++ b/.github/workflows/ubuntu-24.04.yml @@ -1,5 +1,5 @@ --- -name: Ubuntu 18.04 +name: Ubuntu 24.04 on: # yamllint disable-line rule:truthy push: @@ -14,11 +14,11 @@ jobs: runs-on: ubuntu-latest steps: - name: Obtain sources - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Test Galaxy role run: > CONT_ID=$(podman run --rm -v ${{ github.workspace }}:/repo -v /sys/fs/cgroup:/sys/fs/cgroup:ro - --tmpfs /tmp --tmpfs /run --privileged --detach bviktor/ansible-systemd-ubuntu:18.04) && + --tmpfs /tmp --tmpfs /run --privileged --detach bviktor/ansible-systemd-ubuntu:24.04) && podman exec ${CONT_ID} /bin/bash -c "if [ -f requirements.yml ]; then ansible-galaxy role install --force -r requirements.yml -p ..; fi && ANSIBLE_ROLES_PATH=.. ANSIBLE_FORCE_COLOR=true ansible-playbook tests/main.yml" && diff --git a/README.md b/README.md index 8e7578c..c29ee27 100644 --- a/README.md +++ b/README.md @@ -34,8 +34,8 @@ This role checks the state of systemd units. | Linter | ✅ | [![Lint](https://github.com/noobient/ansible-galaxy-servicecheck/actions/workflows/lint.yml/badge.svg)](https://github.com/noobient/ansible-galaxy-servicecheck/actions/workflows/lint.yml) | | AlmaLinux 8 | ✅ | [![AlmaLinux 8](https://github.com/noobient/ansible-galaxy-servicecheck/actions/workflows/almalinux-8.yml/badge.svg)](https://github.com/noobient/ansible-galaxy-servicecheck/actions/workflows/almalinux-8.yml) | | AlmaLinux 9 | ✅ | [![AlmaLinux 9](https://github.com/noobient/ansible-galaxy-servicecheck/actions/workflows/almalinux-9.yml/badge.svg)](https://github.com/noobient/ansible-galaxy-servicecheck/actions/workflows/almalinux-9.yml) | -| Fedora 38 | ✅ | [![Fedora 38](https://github.com/noobient/ansible-galaxy-servicecheck/actions/workflows/fedora-38.yml/badge.svg)](https://github.com/noobient/ansible-galaxy-servicecheck/actions/workflows/fedora-38.yml) | -| Fedora 39 | ✅ | [![Fedora 39](https://github.com/noobient/ansible-galaxy-servicecheck/actions/workflows/fedora-39.yml/badge.svg)](https://github.com/noobient/ansible-galaxy-servicecheck/actions/workflows/fedora-39.yml) | -| Ubuntu 18.04 | ✅ | [![Ubuntu 18.04](https://github.com/noobient/ansible-galaxy-servicecheck/actions/workflows/ubuntu-18.04.yml/badge.svg)](https://github.com/noobient/ansible-galaxy-servicecheck/actions/workflows/ubuntu-18.04.yml) | +| Fedora 40 | ✅ | [![Fedora 40](https://github.com/noobient/ansible-galaxy-servicecheck/actions/workflows/fedora-40.yml/badge.svg)](https://github.com/noobient/ansible-galaxy-servicecheck/actions/workflows/fedora-40.yml) | +| Fedora 41 | ✅ | [![Fedora 41](https://github.com/noobient/ansible-galaxy-servicecheck/actions/workflows/fedora-41.yml/badge.svg)](https://github.com/noobient/ansible-galaxy-servicecheck/actions/workflows/fedora-41.yml) | | Ubuntu 20.04 | ✅ | [![Ubuntu 20.04](https://github.com/noobient/ansible-galaxy-servicecheck/actions/workflows/ubuntu-20.04.yml/badge.svg)](https://github.com/noobient/ansible-galaxy-servicecheck/actions/workflows/ubuntu-20.04.yml) | | Ubuntu 22.04 | ✅ | [![Ubuntu 22.04](https://github.com/noobient/ansible-galaxy-servicecheck/actions/workflows/ubuntu-22.04.yml/badge.svg)](https://github.com/noobient/ansible-galaxy-servicecheck/actions/workflows/ubuntu-22.04.yml) | +| Ubuntu 24.04 | ✅ | [![Ubuntu 24.04](https://github.com/noobient/ansible-galaxy-servicecheck/actions/workflows/ubuntu-24.04.yml/badge.svg)](https://github.com/noobient/ansible-galaxy-servicecheck/actions/workflows/ubuntu-24.04.yml) |