Add missing newline at end of file for yamllint #23
Workflow file for this run
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 Test | |
on: | |
push: | |
env: | |
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} | |
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | |
AWS_DEFAULT_REGION: us-gov-west-1 | |
jobs: | |
lint-test: | |
name: Lint for push | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out the codebase. | |
uses: actions/checkout@v3 | |
- name: Set up Python. | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.x' | |
- name: Install test dependencies. | |
run: pip3 install yamllint ansible-lint ansible | |
- name: Version check | |
run: | | |
ansible --version | |
ansible-lint --version | |
yamllint --version | |
- name: Run yamllint. | |
run: yamllint . | |
- name: Run ansible-lint. | |
run: ansible-lint |