Skip to content

ci: release new package-url data as a patch #188

ci: release new package-url data as a patch

ci: release new package-url data as a patch #188

Workflow file for this run

name: Rust CI
on:
workflow_dispatch:
pull_request:
push:
branches:
- main
jobs:
build-test:
name: Run test and build
strategy:
fail-fast: false
matrix:
include:
- os: ubuntu-latest
target: x86_64-unknown-linux-gnu
- os: ubuntu-24.04-arm
target: aarch64-unknown-linux-gnu
- os: macos-14
target: aarch64-apple-darwin
- os: macos-15
target: aarch64-apple-darwin
- os: macos-15-intel
target: x86_64-apple-darwin
- os: windows-latest
target: x86_64-pc-windows-msvc
runs-on: ${{ matrix.os }}
steps:
- name: Checkout source
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Install Rust
uses: dtolnay/rust-toolchain@aad518f59d88bae90133242f9ddac7f8bbc5dddf #v1.94.1
with:
components: rustfmt, clippy
- name: Check fmt and linting
run: make check
- name: Run tests
run: cargo test --target ${{ matrix.target }} --verbose
- name: Build
run: cargo build --target ${{ matrix.target }} --verbose