From 41e57039c328e5d10cb10c623f7c71fd59dcca52 Mon Sep 17 00:00:00 2001 From: TLenfers <101707389+TLenfers@users.noreply.github.com> Date: Mon, 28 Mar 2022 11:14:18 +0200 Subject: [PATCH] Update main.yml --- .github/workflows/main.yml | 19 +++++++------------ 1 file changed, 7 insertions(+), 12 deletions(-) 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" -