Checking codebase using ansible-lint main branch #57
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
--- | |
# Copyright (C) 2022 Maciej Delmanowski <[email protected]> | |
# Copyright (C) 2022 DebOps <https://debops.org/> | |
# SPDX-License-Identifier: GPL-3.0-or-later | |
# This test is used to verify DebOps codebase against 'ansible-lint' project | |
# using its 'main' branch, to anticipate any future changes. | |
# Ref: https://github.com/ansible/ansible-lint/discussions/1403#discussioncomment-2654415 | |
name: Checking codebase using ansible-lint main branch | |
on: [ 'push', 'pull_request' ] | |
jobs: | |
build: | |
runs-on: 'ubuntu-latest' | |
steps: | |
- name: Clone the repository | |
uses: 'actions/checkout@v3' | |
- name: Install Ansible Collections for ansible-lint | |
run: 'make install-collections' | |
- name: Run ansible-lint from main branch | |
uses: 'ansible-community/ansible-lint-action@main' |