mirror of
https://github.com/DeterminateSystems/magic-nix-cache-action.git
synced 2024-12-23 13:32:03 +01:00
Test the cache isn't enable when untrusted
This commit is contained in:
parent
48f4743fed
commit
5d4feb3d3c
4 changed files with 8 additions and 9 deletions
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
|
@ -63,9 +63,9 @@ jobs:
|
||||||
trusted-users = root
|
trusted-users = root
|
||||||
- name: Cache the store
|
- name: Cache the store
|
||||||
uses: ./
|
uses: ./
|
||||||
- name: Check the cache for liveness
|
- name: Check the cache isn't enabled
|
||||||
run: |
|
run: |
|
||||||
.github/workflows/cache-test.sh
|
[ $(nix config show substituters) == "https://cache.nixos.org/" ]
|
||||||
|
|
||||||
run-x86_64-linux:
|
run-x86_64-linux:
|
||||||
name: Run x86_64 Linux
|
name: Run x86_64 Linux
|
||||||
|
|
3
dist/index.js
generated
vendored
3
dist/index.js
generated
vendored
|
@ -93752,7 +93752,7 @@ const got = source_create(defaults);
|
||||||
const external_node_stream_promises_namespaceObject = __WEBPACK_EXTERNAL_createRequire(import.meta.url)("node:stream/promises");
|
const external_node_stream_promises_namespaceObject = __WEBPACK_EXTERNAL_createRequire(import.meta.url)("node:stream/promises");
|
||||||
;// CONCATENATED MODULE: external "node:zlib"
|
;// CONCATENATED MODULE: external "node:zlib"
|
||||||
const external_node_zlib_namespaceObject = __WEBPACK_EXTERNAL_createRequire(import.meta.url)("node:zlib");
|
const external_node_zlib_namespaceObject = __WEBPACK_EXTERNAL_createRequire(import.meta.url)("node:zlib");
|
||||||
;// CONCATENATED MODULE: ./node_modules/.pnpm/github.com+DeterminateSystems+detsys-ts@420b83a32e8bffc3ae51bdf17908994b0a323e92_qfkbfnjjxud556txwjeu7rl4qu/node_modules/detsys-ts/dist/index.js
|
;// CONCATENATED MODULE: ./node_modules/.pnpm/github.com+DeterminateSystems+detsys-ts@93a5166cd57eefcd448ea79923c11eb4b56d4563_rgjnyo4jd3kdijkrub73izga24/node_modules/detsys-ts/dist/index.js
|
||||||
var __defProp = Object.defineProperty;
|
var __defProp = Object.defineProperty;
|
||||||
var __export = (target, all) => {
|
var __export = (target, all) => {
|
||||||
for (var name in all)
|
for (var name in all)
|
||||||
|
@ -94580,7 +94580,6 @@ var IdsToolbox = class {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
async preflightNixStoreInfo() {
|
async preflightNixStoreInfo() {
|
||||||
this.nixStoreTrust = "unknown";
|
|
||||||
let output = "";
|
let output = "";
|
||||||
const options = {};
|
const options = {};
|
||||||
options.silent = true;
|
options.silent = true;
|
||||||
|
|
|
@ -27,7 +27,7 @@
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@actions/core": "^1.10.1",
|
"@actions/core": "^1.10.1",
|
||||||
"@actions/exec": "^1.1.1",
|
"@actions/exec": "^1.1.1",
|
||||||
"detsys-ts": "github:DeterminateSystems/detsys-ts#store-trust",
|
"detsys-ts": "github:DeterminateSystems/detsys-ts",
|
||||||
"got": "^14.2.1",
|
"got": "^14.2.1",
|
||||||
"tail": "^2.2.6"
|
"tail": "^2.2.6"
|
||||||
},
|
},
|
||||||
|
|
|
@ -12,8 +12,8 @@ dependencies:
|
||||||
specifier: ^1.1.1
|
specifier: ^1.1.1
|
||||||
version: 1.1.1
|
version: 1.1.1
|
||||||
detsys-ts:
|
detsys-ts:
|
||||||
specifier: github:DeterminateSystems/detsys-ts#store-trust
|
specifier: github:DeterminateSystems/detsys-ts
|
||||||
version: github.com/DeterminateSystems/detsys-ts/420b83a32e8bffc3ae51bdf17908994b0a323e92
|
version: github.com/DeterminateSystems/detsys-ts/93a5166cd57eefcd448ea79923c11eb4b56d4563
|
||||||
got:
|
got:
|
||||||
specifier: ^14.2.1
|
specifier: ^14.2.1
|
||||||
version: 14.2.1
|
version: 14.2.1
|
||||||
|
@ -3818,8 +3818,8 @@ packages:
|
||||||
engines: {node: '>=10'}
|
engines: {node: '>=10'}
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
github.com/DeterminateSystems/detsys-ts/420b83a32e8bffc3ae51bdf17908994b0a323e92:
|
github.com/DeterminateSystems/detsys-ts/93a5166cd57eefcd448ea79923c11eb4b56d4563:
|
||||||
resolution: {tarball: https://codeload.github.com/DeterminateSystems/detsys-ts/tar.gz/420b83a32e8bffc3ae51bdf17908994b0a323e92}
|
resolution: {tarball: https://codeload.github.com/DeterminateSystems/detsys-ts/tar.gz/93a5166cd57eefcd448ea79923c11eb4b56d4563}
|
||||||
name: detsys-ts
|
name: detsys-ts
|
||||||
version: 1.0.0
|
version: 1.0.0
|
||||||
dependencies:
|
dependencies:
|
||||||
|
|
Loading…
Reference in a new issue