Skip to content

Remove GHC 9.0.2 and switch back to macos-latest (#967) #355

Remove GHC 9.0.2 and switch back to macos-latest (#967)

Remove GHC 9.0.2 and switch back to macos-latest (#967) #355

Workflow file for this run

name: Scorecards supply-chain security
on:
branch_protection_rule:
schedule:
- cron: '33 18 * * 5'
push:
branches: [master]
permissions: {}
jobs:
analysis:
if: github.repository == 'mihaimaruseac/hindent' # Don't do this in forks
name: Scorecards analysis
runs-on: ubuntu-latest
permissions:
security-events: write
id-token: write
steps:
- name: Checkout code
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
with:
persist-credentials: false
- name: Run analysis
uses: ossf/scorecard-action@62b2cac7ed8198b15735ed49ab1e5cf35480ba46 # v2.4.0
with:
results_file: results.sarif
results_format: sarif
publish_results: true
- name: Upload artifact
uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874 # v4.4.0
with:
name: SARIF file
path: results.sarif
retention-days: 5
# Upload the results to GitHub's code scanning dashboard.
- name: Upload to code-scanning
uses: github/codeql-action/upload-sarif@e2b3eafc8d227b0241d48be5f425d47c2d750a13 # v3.26.10
with:
sarif_file: results.sarif