name: CI on: push: branches: - main pull_request: branches: - main jobs: test: runs-on: ubuntu-latest name: Test changed-files steps: - name: Checkout uses: actions/checkout@v2 - name: shellcheck uses: reviewdog/action-shellcheck@v1 - name: Run changed-files id: changed-files uses: ./ - name: Show output run: | echo "Added Files: ${{ steps.changes-files.outputs.added_files }}" echo "Copied Files: ${{ steps.changes-files.outputs.copied_files }}" echo "Deleted Files: ${{ steps.changes-files.outputs.deleted_files }}" echo "Modified Files: ${{ steps.changes-files.outputs.modified_files }}" echo "Renamed Files: ${{ steps.changes-files.outputs.renamed_files }}" echo "Changed Files: ${{ steps.changes-files.outputs.changed_files }}" echo "Unmerged Files: ${{ steps.changes-files.outputs.unmerged_files }}" echo "Unknown Files: ${{ steps.changes-files.outputs.unknown_files }}" echo "All Changed Files: ${{ steps.changes-files.outputs.all_changed_files }}"