diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index cb24dd9..d9066fb 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,27 +1,22 @@ -# This is a basic workflow to help you get started with Actions - -name: Linting +name: Test # Controls when the workflow will run on: - # Triggers the workflow on push or pull request events but only for the main branch push: - branches: [ main ] + branches: + - master pull_request: - branches: [ main ] + branches_ignore: [] - # 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: linting: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - name: Test linting + - uses: actions/checkout@v1 + - name: Linting uses: snakemake/snakemake-github-action@v1.23.0 with: - directory: . + directory: .test snakefile: workflow/Snakefile args: "--lint" -