Skip to content

Bump checkout action to v4 #1

Bump checkout action to v4

Bump checkout action to v4 #1

Workflow file for this run

name: Lint
on: [push, pull_request]
jobs:
lint:
# We want to run on external PRs, but not on our own internal PRs as they'll be run
# by the push to the branch. Without this if check, checks are duplicated since
# internal PRs match both the push and pull_request events.
if:
github.event_name == 'push' || github.event.pull_request.head.repo.full_name !=
github.repository
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
uses: actions/setup-python@v4

Check failure on line 18 in .github/workflows/lint.yml

View workflow run for this annotation

GitHub Actions / Lint

Invalid workflow file

The workflow is not valid. .github/workflows/lint.yml (Line: 18, Col: 9): 'uses' is already defined
- name: Lint
run: |
pip install flake8
flake8 pymt_pynetlogo examples