Last active
June 5, 2025 17:06
-
-
Save sfboss/847289da86ce2c0d91810402c390813c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Code Analysis | |
| on: [push, pull_request] | |
| jobs: | |
| scan: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v2 | |
| - name: Install SFDX | |
| uses: sfdx-actions/setup-sfdx@v1 | |
| - name: Install Scanner | |
| run: sfdx plugins:install @salesforce/sfdx-scanner | |
| - name: Run Analysis | |
| run: sfdx scanner:run --target="./" --format=junit --outfile=results.xml |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment