Re-enable vulnix scan for CDX vulns #452
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
# SPDX-FileCopyrightText: 2022-2023 Technology Innovation Institute (TII) | |
# | |
# SPDX-License-Identifier: Apache-2.0 | |
name: Test sbomnix | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4.2.0 | |
- uses: cachix/install-nix-action@v30 | |
with: | |
nix_path: nixpkgs=channel:nixpkgs-unstable | |
- name: Ensure nix-build works | |
run: nix-build '<nixpkgs>' -A hello | |
- name: Print nix version | |
run: nix --version | |
- name: Run sbomnix CI tests | |
run: nix develop --command make test-ci |