Bump actions/setup-go from 6.5.0 to 7.0.0 (#216) #22
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
| # OpenSSF Scorecard - supply-chain security analysis. | |
| # Publishes results to the OpenSSF dataset so the README badge renders. | |
| name: Scorecard | |
| on: | |
| push: | |
| branches: [ main ] | |
| schedule: | |
| - cron: '30 1 * * 1' | |
| workflow_dispatch: | |
| # Read-all so the checkout / analysis can inspect repo settings; the job below | |
| # grants only the extra write scopes it needs. | |
| permissions: read-all | |
| jobs: | |
| analysis: | |
| name: Scorecard analysis | |
| runs-on: ubuntu-latest | |
| permissions: | |
| # Needed to upload the SARIF results to the Security tab. | |
| security-events: write | |
| # Needed to publish results and get a badge (via publish_results: true). | |
| id-token: write | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 | |
| with: | |
| persist-credentials: false | |
| - name: Run analysis | |
| uses: ossf/scorecard-action@4eaacf0543bb3f2c246792bd56e8cdeffafb205a # v2.4.3 | |
| with: | |
| results_file: results.sarif | |
| results_format: sarif | |
| publish_results: true | |
| - name: Upload to code-scanning | |
| uses: github/codeql-action/upload-sarif@99df26d4f13ea111d4ec1a7dddef6063f76b97e9 # v3 | |
| with: | |
| sarif_file: results.sarif |