Skip to content

Commit

Permalink
Merge pull request #52 from DeterminateSystems/untrusted
Browse files Browse the repository at this point in the history
Behave well when  MNCA isn't trusted
  • Loading branch information
grahamc authored May 10, 2024
2 parents 87e8236 + 5d4feb3 commit 5555b8b
Show file tree
Hide file tree
Showing 5 changed files with 119 additions and 14 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,29 @@ jobs:
- name: Cache the store
uses: ./

run-x86_64-linux-untrusted:
name: Run x86_64 Linux, Untrusted
runs-on: ubuntu-22.04
permissions:
id-token: "write"
contents: "read"
env:
ACTIONS_STEP_DEBUG: true
steps:
- uses: actions/checkout@v4
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@main
with:
flakehub: true
extra-conf: |
narinfo-cache-negative-ttl = 0
trusted-users = root
- name: Cache the store
uses: ./
- name: Check the cache isn't enabled
run: |
[ $(nix config show substituters) == "https://cache.nixos.org/" ]
run-x86_64-linux:
name: Run x86_64 Linux
runs-on: ubuntu-22.04
Expand Down
72 changes: 68 additions & 4 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 5555b8b

Please sign in to comment.