packageurl 0.6.0

Rust implementation of the package url specification
Documentation
name: CI

on:
  push:
    # Run on the main branch
    branches:
      - main
  # Also on PRs, just be careful not to publish anything
  pull_request:
  # Allow to be called from other workflows (like "release")
  workflow_call:
  merge_group:
    types:
      - checks_requested


permissions:
  contents: read

jobs:

  common:
    uses: scm-rs/shared-workflows/.github/workflows/ci.yaml@main

  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