Allow running sbomnix without realising out paths #250
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@v3 | |
- uses: cachix/install-nix-action@v22 | |
with: | |
nix_path: nixpkgs=channel:nixpkgs-unstable | |
- name: Make sure nix-build works | |
run: nix-build '<nixpkgs>' -A hello | |
- name: Run sbomnix CI tests | |
run: nix develop --command make test-ci |