@@ -54,11 +54,16 @@ jobs:
5454 bundler : latest
5555
5656 steps :
57+ - name : Harden the runner (Audit all outbound calls)
58+ uses : step-security/harden-runner@ab7a9404c0f3da075243ca237b5fac12c98deaa5 # v2.19.3
59+ with :
60+ egress-policy : audit
61+
5762 - name : Checkout
58- uses : actions/checkout@v6
63+ uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
5964
6065 - name : Setup Ruby & RubyGems
61- uses : ruby/setup-ruby@v1.308.0
66+ uses : ruby/setup-ruby@97ecb7b512899eb71ab1bf2310a624c6f1589ac6 # v1.308.0
6267 with :
6368 ruby-version : " ${{ matrix.ruby }}"
6469 rubygems : " ${{ matrix.rubygems }}"
@@ -78,14 +83,14 @@ jobs:
7883 # Do SaaS coverage uploads first
7984 - name : Upload coverage to Coveralls
8085 if : ${{ !env.ACT }}
81- uses : coverallsapp/github-action@master
86+ uses : coverallsapp/github-action@09b709cf6a16e30b0808ba050c7a6e8a5ef13f8d # master
8287 with :
8388 github-token : ${{ secrets.GITHUB_TOKEN }}
8489 continue-on-error : ${{ matrix.experimental != 'false' }}
8590
8691 - name : Upload coverage to QLTY
8792 if : ${{ !env.ACT }}
88- uses : qltysh/qlty-action/coverage@main
93+ uses : qltysh/qlty-action/coverage@141b881236146435192435eb7b0e06ea0b70b4d9 # main
8994 with :
9095 token : ${{secrets.QLTY_COVERAGE_TOKEN}}
9196 files : coverage/.resultset.json
95100 # which will hopefully be noticed for the lack of code coverage comments
96101 - name : Upload coverage to CodeCov
97102 if : ${{ !env.ACT }}
98- uses : codecov/codecov-action@v6
103+ uses : codecov/codecov-action@e79a6962e0d4c0c17b229090214935d2e33f8354 # v6.0.1
99104 with :
100105 use_oidc : true
101106 fail_ci_if_error : false # optional (default = false)
@@ -105,7 +110,7 @@ jobs:
105110 # Then PR comments
106111 - name : Code Coverage Summary Report
107112 if : ${{ !env.ACT && github.event_name == 'pull_request' }}
108- uses : irongut/CodeCoverageSummary@v1.3.0
113+ uses : irongut/CodeCoverageSummary@51cc3a756ddcd398d447c044c02cb6aa83fdae95 # v1.3.0
109114 with :
110115 filename : ./coverage/coverage.xml
111116 badge : true
@@ -119,7 +124,7 @@ jobs:
119124 continue-on-error : ${{ matrix.experimental != 'false' }}
120125
121126 - name : Add Coverage PR Comment
122- uses : marocchino/sticky-pull-request-comment@v3
127+ uses : marocchino/sticky-pull-request-comment@d4d6b0936434b21bc8345ad45a440c5f7d2c40ff # v3.0.3
123128 if : ${{ !env.ACT && github.event_name == 'pull_request' }}
124129 with :
125130 recreate : true
0 commit comments