Skip to content

Commit f5762cb

Browse files
committed
Align GitHub Actions with colcon template
In particular, this change adds yamllint checks.
1 parent c91a0fd commit f5762cb

2 files changed

Lines changed: 8 additions & 1 deletion

File tree

.github/workflows/ci.yaml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,19 @@
11
---
22
name: Run tests
33

4-
on:
4+
on: # yamllint disable-line rule:truthy
55
push:
66
branches: ['master']
77
pull_request:
8+
workflow_dispatch:
89

910
jobs:
1011
pytest:
1112
uses: colcon/ci/.github/workflows/pytest.yaml@main
1213
secrets:
1314
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
15+
yamllint:
16+
runs-on: ubuntu-latest
17+
steps:
18+
- uses: actions/checkout@v5
19+
- run: yamllint -f github .

publish-python.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
---
12
artifacts:
23
- type: wheel
34
uploads:

0 commit comments

Comments
 (0)