Skip to content

fix(syntax): remove deprecated warn arg from shell tasks #58

fix(syntax): remove deprecated warn arg from shell tasks

fix(syntax): remove deprecated warn arg from shell tasks #58

Workflow file for this run

name: CI
# Controls when the action will run.
on:
pull_request:
branches: [main]
push:
branches: [main]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
sanity:
# The type of runner that the job will run on
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
- name: Bump version and push tag
id: tag_version
uses: mathieudutour/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
release_branches: main
tag_prefix: ""
dry_run: "true"
- name: Set up Python 3.7
uses: actions/setup-python@v2
with:
python-version: 3.7
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install "ansible>=2.9,<2.10" ansible-lint
mkdir -p ~/.ansible/roles
ansible-galaxy install --roles-path ~/.ansible/roles -r requirements.yml
- name: Lint with ansible-lint
run: |
# Check Ansible formatting rules
ansible-lint ./tests/sanity.yml --exclude ~/.ansible/roles
- name: Check for syntax errors
run: |
ansible-playbook ./tests/sanity.yml --syntax-check
- name: Validate the collection is installable
run: |
ansible-galaxy collection build
ansible-galaxy collection install jhampson_dbre-home_assistant-1.0.0.tar.gz