mirror of
https://github.com/HorlogeSkynet/systemd-hardene.d.git
synced 2026-06-27 04:00:13 +02:00
cb2fced319
Bumps [actions/checkout](https://github.com/actions/checkout) from 6 to 7. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v6...v7) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '7' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
22 lines
495 B
YAML
22 lines
495 B
YAML
---
|
|
name: Linting
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
build:
|
|
name: Run systemd-analyze on service overrides
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v7
|
|
|
|
- run: |
|
|
find collection/ \
|
|
-mindepth 2 -maxdepth 2 -type f \
|
|
-print \
|
|
| xargs -i /bin/sh -c \
|
|
'echo {}; ( cat {} ; echo "ExecStart=/bin/true" ) > /tmp/unit.service && systemd-analyze verify /tmp/unit.service'
|