CI O1ahmad/basic-service - refs/pull/15/merge job 🚀 #50
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: Basic-Service Continuous-Integration | |
run-name: CI ${{ github.repository }} - ${{ github.ref }} job 🚀 | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out repository code | |
uses: actions/checkout@v3 | |
- name: Lint yaml and Ansible configs | |
run: | | |
python -m pip install --upgrade pip | |
pip install ansible-lint==24.6.0 yamllint==1.35.1 | |
yamllint --config-file ./tests/yaml-lint.yml . | |
ansible-lint --config-file ./tests/ansible-lint.yml . |