Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/workflows/dylint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ on:
default: ""
pull_request:
branches: [main]
# setup-soldr skips cache uploads on PRs. A main run seeds the shared
# Dylint compile cache that subsequent PRs are allowed to restore.
push:
branches: [main]

# Auto-cancel superseded PR runs: pushing again to a feature branch
# supersedes the in-flight run instead of queueing behind it. Non-PR
Expand Down
1 change: 1 addition & 0 deletions ci/test_fractional_workflows.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ def test_full_matrix_matches_every_supported_board(self):
self.assertEqual("./.github/workflows/dylint.yml", full["jobs"]["dylint"]["uses"])
self.assertNotIn("run_full", full["jobs"]["dylint"]["with"])
dylint = self.load("dylint.yml")
self.assertEqual(["main"], dylint[True]["push"]["branches"])
self.assertEqual("Dylint policy", dylint["jobs"]["policy"]["name"])
self.assertNotIn("if", dylint["jobs"]["dylint"])
self.assertEqual("ubuntu-latest", dylint["jobs"]["dylint"]["runs-on"])
Expand Down
Loading