Skip to content

Commit 9c338eb

Browse files
committed
Validate mono changesets in CI
Add changeset validation with `mono changeset validate` as a reusable workflow, and reference it from the CI and publish release workflows.
1 parent 69e1985 commit 9c338eb

2 files changed

Lines changed: 27 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ on:
1515
workflow_dispatch:
1616

1717
jobs:
18+
validate-changesets:
19+
uses: ./.github/workflows/validate_changesets.yml
20+
1821
lint_git:
1922
runs-on: ubuntu-latest
2023
if: ${{ github.event_name != 'schedule' }}
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Validate changesets
2+
3+
on:
4+
workflow_call:
5+
6+
jobs:
7+
validate-changesets:
8+
name: Validate changesets
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Checkout project
12+
uses: actions/checkout@v4
13+
- name: Checkout Mono
14+
uses: actions/checkout@v4
15+
with:
16+
repository: appsignal/mono
17+
path: tmp/mono
18+
- name: Install Ruby
19+
uses: ruby/setup-ruby@v1
20+
with:
21+
ruby-version: '3.3'
22+
- name: Validate changesets
23+
run: tmp/mono/bin/mono changeset validate
24+

0 commit comments

Comments
 (0)