-
Notifications
You must be signed in to change notification settings - Fork 71
46 lines (43 loc) · 1.15 KB
/
main.yml
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
42
43
44
45
46
name: noop run
on:
workflow_dispatch: {}
pull_request: {}
push:
branches:
- master
jobs:
unit:
runs-on: ubuntu-latest
name: Run msync --noop against all modules and print a summary
steps:
- uses: actions/checkout@v4
- name: Setup ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.7
bundler-cache: true
- name: Run msync --noop
run: bundle exec msync update --noop --git-base=https://github.com/ --branch foobranch
- name: Generate summary
run: bundle exec bin/outdated_modules_and_their_version
metadata_json_deps:
runs-on: ubuntu-latest
name: Run metadata_json_deps on all modules
steps:
- uses: actions/checkout@v4
- name: Setup ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.7
bundler-cache: true
- name: Run msync --noop
run: bundle exec msync clone --git-base=https://github.com/
- run: bundle exec rake metadata_deps
tests:
needs:
- unit
- metadata_json_deps
runs-on: ubuntu-latest
name: Test suite
steps:
- run: echo Test suite completed