fix: also consider metadata component for refs #502
Workflow file for this run
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: CI | |
| on: | |
| push: | |
| # Run on the main branch | |
| branches: | |
| - main | |
| - release/* | |
| # Also on PRs, just be careful not to publish anything | |
| pull_request: | |
| # Allow to be called from other workflows (like "release") | |
| merge_group: | |
| types: | |
| - checks_requested | |
| jobs: | |
| common: | |
| uses: scm-rs/shared-workflows/.github/workflows/ci.yaml@main | |
| with: | |
| preflight_install: | | |
| sudo apt install clang llvm pkg-config nettle-dev | |
| preflight_semver_exclude: csaf-cli,sbom-cli,walker-extras # drop walker-extras later | |
| preflight_semver_feature_group: default-features | |
| preflight_semver_features: _semver # use specific feature for semver checks | |
| matrix_include: | | |
| [ | |
| { | |
| "os": "ubuntu-22.04", | |
| "install": "sudo apt install clang llvm pkg-config nettle-dev" | |
| }, | |
| { | |
| "os": "windows-2022", | |
| "args": "--features crypto-cng --no-default-features", | |
| "skip_all_features": true | |
| }, | |
| { | |
| "os": "macos-14", | |
| "skip_all_features": true | |
| } | |
| ] | |
| ci: | |
| runs-on: ubuntu-latest | |
| needs: | |
| - common | |
| if: always() | |
| steps: | |
| - name: Success | |
| if: ${{ !(contains(needs.*.result, 'failure')) }} | |
| run: exit 0 | |
| - name: Failure | |
| if: ${{ contains(needs.*.result, 'failure') }} | |
| run: exit 1 |