Skip to content

Commit

Permalink
Merge pull request #124 from DeterminateSystems/cel-expressions
Browse files Browse the repository at this point in the history
  • Loading branch information
lucperkins authored Jul 2, 2024
2 parents 9ffd1b0 + 5784bde commit 6ba8ec5
Show file tree
Hide file tree
Showing 21 changed files with 1,288 additions and 409 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,21 @@ jobs:
- name: cargo test
run: nix develop -c cargo test

check-flake-cel-condition:
name: Check flake.lock test (CEL condition)
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main
- name: Check flake.lock
run: |
nix develop -c \
cargo run -- \
--condition "supportedRefs.contains(gitRef) && numDaysOld < 30 && owner == 'NixOS'" \
./tests/flake.cel.0.lock
check-flake-dirty:
name: Check flake.lock test (dirty 😈)
runs-on: ubuntu-22.04
Expand Down
Loading

0 comments on commit 6ba8ec5

Please sign in to comment.