forked from puppetlabs/puppet-runtime
-
Notifications
You must be signed in to change notification settings - Fork 0
41 lines (35 loc) · 994 Bytes
/
component_diff_check.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
---
name: Vanagon Component Diff
on:
pull_request:
branches:
- master
jobs:
vanagon_component_diff_check:
runs-on: ubuntu-latest
name: Check
steps:
- name: Checkout current PR
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install ruby version ${{ matrix.cfg.ruby }}
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.3
- name: Bundle project
run: |
gem install bundler
bundle config set without packaging documentation
bundle install --jobs 3 --retry 3 --with development
- name: Save artifacts data
run: |
mkdir -p ./output
echo '${{ github.event.number }}' > ./output/nr
bundle exec rake vanagon:component_diff -- '-mpall' > ./output/text
cat ./output/text
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: artifacts
path: output/