Release cargo-cyclonedx 0.5.4 #943
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
name: "Nix Flake CI" | |
on: | |
pull_request: | |
push: | |
branches: | |
- 'main' | |
jobs: | |
tests: | |
name: Nix Flake Build & Check | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install Nix | |
uses: DeterminateSystems/nix-installer-action@v9 | |
- name: Run the Magic Nix Cache | |
uses: DeterminateSystems/magic-nix-cache-action@v3 | |
- name: Build the default flake output | |
run: nix build | |
- name: Check the flake outputs | |
run: nix flake check | |
- name: Check the flake's formatting | |
run: nix develop --command nixpkgs-fmt --check flake.nix |