Add workflow to test Meltano add/install for changed plugins #1960
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
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
lint: | |
name: Lint YAML files | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4.1.2 | |
- name: Get changed files in the docs folder | |
id: changed-files | |
uses: tj-actions/changed-files@v43.0.1 | |
with: | |
files: | | |
_data/**/*.yml | |
- name: Install yamllint | |
if: steps.changed-files.outputs.any_changed == 'true' | |
run: pipx install yamllint | |
- name: Lint YAML files | |
if: steps.changed-files.outputs.any_changed == 'true' | |
run: yamllint ${{ steps.changed-files.outputs.all_changed_files }} |