libpamtest: Test that use of su is disallowed #124
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: lint | |
on: [push, pull_request] | |
jobs: | |
ansible-lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Run ansible-lint | |
uses: ansible/ansible-lint-action@main | |
with: | |
path: ./harden.yml | |
yamllint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Run yamllint | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y yamllint | |
yamllint ./*.yml tasks/*.yml | |
syntax-check: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Run syntax-check | |
run: ansible-playbook --syntax-check harden.yml |