Allow rsync command to be manually specified #148
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
--- | |
# ------------------------------------------------------------------------------------------------- | |
# Job Name | |
# ------------------------------------------------------------------------------------------------- | |
name: Linting | |
# ------------------------------------------------------------------------------------------------- | |
# When to run | |
# ------------------------------------------------------------------------------------------------- | |
on: | |
# Runs on Pull Requests | |
pull_request: | |
# Runs on master Branch and Tags | |
push: | |
branches: | |
- master | |
tags: | |
- '[0-9]+.[0-9]+*' | |
# ------------------------------------------------------------------------------------------------- | |
# What to run | |
# ------------------------------------------------------------------------------------------------- | |
jobs: | |
linting: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
target: | |
- lint-file | |
- lint-shell | |
name: "[${{ matrix.target}}]" | |
steps: | |
# ------------------------------------------------------------ | |
# Checkout repository | |
# ------------------------------------------------------------ | |
- name: Checkout repository | |
uses: actions/checkout@v1 | |
- name: Show environment | |
shell: bash | |
run: | | |
env | |
- name: Show bash versions | |
shell: bash | |
run: | | |
bash --version | |
# ------------------------------------------------------------ | |
# Lint | |
# ------------------------------------------------------------ | |
- name: Pull Artifacts | |
shell: bash | |
run: | | |
while ! make pull-docker-${TARGET}; do sleep 1; done | |
env: | |
TARGET: ${{ matrix.target }} | |
- name: Lint | |
shell: bash | |
run: | | |
make ${TARGET} | |
env: | |
TARGET: ${{ matrix.target }} |