Skip to content

Commit

Permalink
Update CI to not use validate
Browse files Browse the repository at this point in the history
  • Loading branch information
Eric-Arellano committed Jan 29, 2022
1 parent 796094c commit d32b136
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 10 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/test-cron.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -340,11 +340,9 @@ jobs:
'
- name: Lint
run: './pants validate ''**''
run: './pants update-build-files --check
./pants update-build-files --check
./pants lint check ::
./pants lint check ''**''
'
- if: always()
Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -515,11 +515,9 @@ jobs:
'
- name: Lint
run: './pants validate ''**''
run: './pants update-build-files --check
./pants update-build-files --check
./pants lint check ::
./pants lint check ''**''
'
- if: always()
Expand Down
4 changes: 2 additions & 2 deletions build-support/bin/generate_github_workflows.py
Original file line number Diff line number Diff line change
Expand Up @@ -380,9 +380,9 @@ def test_workflow_jobs(python_versions: list[str], *, cron: bool) -> Jobs:
{
"name": "Lint",
"run": (
"./pants validate '**'\n"
"./pants update-build-files --check\n"
"./pants lint check ::\n"
# Note: we use `**` rather than `::` because regex-lint.
"./pants lint check '**'\n"
),
},
upload_log_artifacts(name="lint"),
Expand Down

0 comments on commit d32b136

Please sign in to comment.