Add Continuous integration and start lesson plan #13
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
name: Check bash style | |
on: | |
push: | |
pull_request: | |
schedule: | |
- cron: "0 0 16 * *" | |
jobs: | |
check_bash_style: | |
runs-on: ubuntu-latest | |
env: | |
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} | |
steps: | |
- name: Set up Git repository | |
uses: actions/checkout@v2 | |
- name: Clone needed repos | |
run: | | |
cd .. | |
git clone https://github.com/richelbilderbeek/launch_nft_locally_in_singularity_from_dockerfile | |
git clone https://github.com/richelbilderbeek/nextflow_troubleshooting | |
cd - | |
- name: Check bash scripts for style | |
run: shellcheck --external-sources *.sh |