@@ -154,6 +154,18 @@ jobs:
154154 - name : ' Authenticate to Integration Org'
155155 run : sfdx auth:sfdxurl:store -f ./SFDX_INTEGRATION_URL.txt -s -a integration
156156
157+ # Run Lightning Flow Scanner
158+ - name : Run Flow Scanner
159+ id : scanner
160+ uses :
Flow-Scanner/[email protected] 161+ with :
162+ outputMode : sarif # optional (default)
163+
164+ - name : Upload SARIF to Code Scanning
165+ uses : github/codeql-action/upload-sarif@v3
166+ with :
167+ sarif_file : ${{ steps.scanner.outputs.sarifPath }}
168+
157169 # We use SFDX Git Delta to create a directory with only the metadata that has changed.
158170 # this allows us to deploy only those changes, as opposed to deploying the entire branch.
159171 # This helps reducing deployment times
@@ -182,20 +194,6 @@ jobs:
182194 # If the env variable does not equal 'all', we know that there is a list of
183195 # tests that can be run
184196
185- - name : Checkout repository
186- uses : actions/checkout@v4
187-
188- - name : Run Flow Scanner
189- id : scanner
190- uses :
Flow-Scanner/[email protected] 191- with :
192- outputMode : sarif # optional (default)
193-
194- - name : Upload SARIF to Code Scanning
195- uses : github/codeql-action/upload-sarif@v3
196- with :
197- sarif_file : ${{ steps.scanner.outputs.sarifPath }}
198-
199197 - name : ' Check-only deploy delta changes - run specified tests'
200198 if : ${{ env.APEX_TESTS != 'all' }}
201199 run : |
0 commit comments