Skip to content

Commit

Permalink
Update lint file.
Browse files Browse the repository at this point in the history
  • Loading branch information
aferte committed Jan 23, 2024
1 parent b7045b1 commit c918524
Showing 1 changed file with 6 additions and 17 deletions.
23 changes: 6 additions & 17 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
@@ -1,22 +1,11 @@
name: lint

on:
- push
- pull_request
push:
branches:
- main
pull_request:

jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.7

- name: Install
run: pip install -r <(curl https://raw.githubusercontent.com/lsst/linting/main/requirements.txt)

- name: Run linter
run: flake8
call-workflow:
uses: lsst/rubin_workflows/.github/workflows/lint.yaml@main

0 comments on commit c918524

Please sign in to comment.