Skip to content

Commit f552fd0

Browse files
committed
chore: Add CI for alphebetize
1 parent e182432 commit f552fd0

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Ensure entries are alphabetized
2+
3+
on:
4+
push:
5+
paths:
6+
- "Gemfile"
7+
- "script/alphabetize"
8+
- ".github/workflows/ensure-alphabetize.yml"
9+
- "_data/**"
10+
pull_request:
11+
paths:
12+
- "Gemfile"
13+
- "script/alphabetize"
14+
- ".github/workflows/ensure-alphabetize.yml"
15+
- "_data/**"
16+
17+
jobs:
18+
build:
19+
20+
runs-on: ubuntu-latest
21+
22+
steps:
23+
- uses: actions/checkout@v2
24+
- name: Set up Ruby 2.6
25+
uses: actions/setup-ruby@v1
26+
with:
27+
ruby-version: 2.6.x
28+
- name: Ensure Orgs are sorted
29+
run: |
30+
gem install bundler
31+
bundle install --jobs 4 --retry 3
32+
bundle exec script/alphabetize
33+
git diff --color --exit-code

0 commit comments

Comments
 (0)