Skip to content

Commit

Permalink
Create pylint.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
wxtim authored May 22, 2024
1 parent aba1f40 commit fd07c7a
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/pylint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Pylint

on:
push:
branches: [master, cylc-8]
pull_request:
branches: [master, cylc-8]
workflow_dispatch:


jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Setup Python
uses: actions/setup-python@v3

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install cylc
- name: Checking workflow with Cylc Lint
run: |
cylc lint ./workflows/simplest
- name: Checking workflow with Cylc Lint
run: |
cylc validate ./workflows/simplest

0 comments on commit fd07c7a

Please sign in to comment.