Flake update #442
Workflow file for this run
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/[email protected] | |
- 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 |