File tree Expand file tree Collapse file tree 2 files changed +0
-28
lines changed
Expand file tree Collapse file tree 2 files changed +0
-28
lines changed Original file line number Diff line number Diff line change 99permissions :
1010 contents : read
1111
12- env :
13- # `github.ref` points to the *merge commit* when running tests on a pull request, which will be a commit
14- # that doesn't exists in our code base. Since this workflow triggers from a PR, we use the HEAD SHA instead.
15- #
16- # NOTE: These both used to be used by Code Climate (cc-test-reporter), superseded by qlty.sh
17- GIT_COMMIT_SHA : ${{ github.event.pull_request.head.sha }}
18- GIT_BRANCH : ${{ github.head_ref }}
19-
2012jobs :
2113 matrix-test :
2214 runs-on : ubuntu-latest
7264 path : coverage
7365 retention-days : 1
7466
75- coverage-upload :
76- permissions :
77- id-token : write # Required for OIDC
78- needs : test
79- runs-on : ubuntu-latest
80- steps :
81- - uses : actions/checkout@v4
82- - name : Download coverage results
83- uses : actions/download-artifact@v4
84- with :
85- name : coverage-results
86- path : coverage
87- - name : Upload code coverage to qlty.sh
88- uses : qltysh/qlty-action/coverage@v2
89- with :
90- oidc : true
91- format : simplecov
92- files : coverage/.resultset.json
93-
9467 rubocop :
9568 runs-on : ubuntu-latest
9669 steps :
Original file line number Diff line number Diff line change 11# Pundit
22
33[ ![ Main] ( https://github.com/varvet/pundit/actions/workflows/main.yml/badge.svg )] ( https://github.com/varvet/pundit/actions/workflows/main.yml )
4- [ ![ Maintainability] ( https://qlty.sh/gh/varvet/projects/pundit/maintainability.svg )] ( https://qlty.sh/gh/varvet/projects/pundit )
54[ ![ Inline docs] ( https://inch-ci.org/github/varvet/pundit.svg?branch=main )] ( https://inch-ci.org/github/varvet/pundit )
65[ ![ Gem Version] ( https://badge.fury.io/rb/pundit.svg )] ( https://badge.fury.io/rb/pundit )
76
You can’t perform that action at this time.
0 commit comments