refactor: Utilize std::span
#647
This file contains 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
# Copyright (c) Omar Boukli-Hacene. All rights reserved. | |
# Distributed under an MIT-style license that can be | |
# found in the LICENSE file. | |
# SPDX-License-Identifier: MIT | |
name: OpenSSF Scorecard supply chain security analysis | |
on: | |
branch_protection_rule: | |
pull_request: | |
branches: | |
- main | |
push: | |
branches: | |
- main | |
schedule: | |
- cron: 33 1 * * 6 | |
permissions: {} | |
jobs: | |
analyze: | |
name: Run OpenSSF Scorecard analysis | |
runs-on: ubuntu-latest | |
permissions: | |
actions: read | |
contents: read | |
security-events: write | |
steps: | |
- name: Check out repository | |
uses: actions/checkout@v4 | |
with: | |
persist-credentials: false | |
- name: Run analysis | |
uses: ossf/[email protected] | |
with: | |
results_file: openssf-scorecard.sarif | |
results_format: sarif | |
- name: Report analysis results to GitHub | |
uses: github/codeql-action/upload-sarif@v3 | |
with: | |
sarif_file: openssf-scorecard.sarif |