We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d744c1b commit 6203ee7Copy full SHA for 6203ee7
1 file changed
.github/workflows/ci.yml
@@ -0,0 +1,30 @@
1
+name: CI
2
+
3
+on:
4
+ push:
5
6
+jobs:
7
+ build:
8
+ runs-on: ubuntu-latest
9
+ strategy:
10
+ matrix:
11
+ ruby-version: ['3.3.6']
12
+ steps:
13
+ - uses: actions/checkout@v2
14
+ with:
15
+ fetch-depth: 0
16
+ - name: Set up Ruby
17
+ uses: ruby/setup-ruby@v1
18
19
+ ruby-version: ${{ matrix.ruby-version }}
20
+ bundler-cache: true
21
+ - name: Run RuboCop
22
+ run: bundle exec rubocop
23
+ - name: Check Test Generator Diffs
24
+ run: |
25
+ bundle exec rake usqualitycore:generate
26
+ if [[ -n "$(git status --porcelain lib/us_quality_core_test_kit/generated lib/us_quality_core_test_kit/client/generated)" ]]; then
27
+ echo "Generated tests are outdated. Run 'bundle exec rake usqualitycore:generate' and commit the changes."
28
+ git diff
29
+ exit 1
30
+ fi
0 commit comments