We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dc6b222 commit 5646b93Copy full SHA for 5646b93
.github/workflows/code_quality.yml
@@ -0,0 +1,31 @@
1
+name: 'Code quality'
2
+on:
3
+ workflow_call:
4
+ inputs:
5
+ docker_image:
6
+ type: string
7
+ required: true
8
+
9
+defaults:
10
+ run:
11
+ working-directory: /app
12
13
+jobs:
14
+ code_quality:
15
+ runs-on: ubuntu-latest
16
+ needs:
17
+ - rubocop
18
+ steps:
19
+ - run: echo "All code quality checks complete."
20
+ working-directory: '/'
21
22
+ rubocop:
23
24
+ container:
25
+ image: ${{ inputs.docker_image }}
26
+ credentials:
27
+ username: ${{ github.actor }}
28
+ password: ${{ secrets.github_token }}
29
30
+ - name: Inspecting with Rubocop
31
+ run: rubocop
0 commit comments