Update strict mode name in code

This commit is contained in:
Luc Perkins 2024-05-22 13:26:19 -03:00
parent 69a3177516
commit 08f6eb41e5
No known key found for this signature in database
GPG key ID: 16DB1108FB591835
4 changed files with 6 additions and 6 deletions

View file

@ -45,7 +45,7 @@ jobs:
- name: Cache the store - name: Cache the store
uses: ./ uses: ./
with: with:
strict-mode: true _internal-strict-mode: true
run-x86_64-linux-untrusted: run-x86_64-linux-untrusted:
needs: build needs: build
@ -68,7 +68,7 @@ jobs:
- name: Cache the store - name: Cache the store
uses: ./ uses: ./
with: with:
strict-mode: true _internal-strict-mode: true
- name: Check the cache isn't enabled - name: Check the cache isn't enabled
run: | run: |
[ $(nix config show substituters) == "https://cache.nixos.org/" ] [ $(nix config show substituters) == "https://cache.nixos.org/" ]
@ -102,7 +102,7 @@ jobs:
- name: Cache the store - name: Cache the store
uses: ./ uses: ./
with: with:
strict-mode: true _internal-strict-mode: true
- name: Check the cache for liveness - name: Check the cache for liveness
run: | run: |
.github/workflows/cache-test.sh .github/workflows/cache-test.sh

2
dist/index.js generated vendored
View file

@ -94810,7 +94810,7 @@ var MagicNixCacheAction = class {
idsProjectName: "magic-nix-cache-closure", idsProjectName: "magic-nix-cache-closure",
requireNix: "warn" requireNix: "warn"
}); });
this.strictMode = inputs_exports.getBool("strict-mode"); this.strictMode = inputs_exports.getBool("_internal-strict-mode");
this.hostAndPort = inputs_exports.getString("listen"); this.hostAndPort = inputs_exports.getString("listen");
this.client = got_dist_source.extend({ this.client = got_dist_source.extend({
retry: { retry: {

2
dist/index.js.map generated vendored

File diff suppressed because one or more lines are too long

View file

@ -44,7 +44,7 @@ class MagicNixCacheAction {
requireNix: "warn", requireNix: "warn",
}); });
this.strictMode = inputs.getBool("strict-mode"); this.strictMode = inputs.getBool("_internal-strict-mode");
this.hostAndPort = inputs.getString("listen"); this.hostAndPort = inputs.getString("listen");
this.client = got.extend({ this.client = got.extend({