7 Commits

Author SHA1 Message Date
Renée Kooi
9962fdf075 test 2024-04-26 09:31:29 +02:00
goto-bus-stop
4f12c907f3 Rebuild (automated) 2024-01-29 09:56:20 +00:00
dependabot[bot]
c13dfb00a4 Bump esbuild from 0.19.12 to 0.20.0 (#71)
Bumps [esbuild](https://github.com/evanw/esbuild) from 0.19.12 to 0.20.0.
- [Release notes](https://github.com/evanw/esbuild/releases)
- [Changelog](https://github.com/evanw/esbuild/blob/main/CHANGELOG.md)
- [Commits](https://github.com/evanw/esbuild/compare/v0.19.12...v0.20.0)

---
updated-dependencies:
- dependency-name: esbuild
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-29 10:55:58 +01:00
Chris Heyes
7e1b9284f3 Improve usage example (#66)
Run zig fmt --check  on root dir so that build.zig, build.zig.zon and any other folders containing zig source get checked
2024-01-06 21:59:41 +01:00
goto-bus-stop
d866436887 Rebuild (automated) 2024-01-03 10:20:44 +00:00
dependabot[bot]
e64d72b669 Bump EndBug/add-and-commit from 4 to 9 (#64)
* Bump EndBug/add-and-commit from 4 to 9

Bumps [EndBug/add-and-commit](https://github.com/endbug/add-and-commit) from 4 to 9.
- [Release notes](https://github.com/endbug/add-and-commit/releases)
- [Commits](https://github.com/endbug/add-and-commit/compare/v4...v9)

---
updated-dependencies:
- dependency-name: EndBug/add-and-commit
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* remove obsolete options

* test the new action

* test the new action

* test the new action

* Rebuild (automated)

* revert debug changes

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Renée Kooi <renee@kooi.me>
Co-authored-by: goto-bus-stop <goto-bus-stop@users.noreply.github.com>
2024-01-03 11:20:24 +01:00
Rui Chen
1c0785686c dependabot: support github-actions (#63)
Signed-off-by: Rui Chen <rui@chenrui.dev>
2024-01-03 11:09:15 +01:00
5 changed files with 21 additions and 23 deletions

View File

@@ -6,3 +6,9 @@ updates:
interval: daily
time: "04:00"
open-pull-requests-limit: 10
- package-ecosystem: github-actions
directory: "/"
schedule:
interval: daily
time: "04:00"
open-pull-requests-limit: 10

View File

@@ -11,11 +11,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- run: npm install
- uses: EndBug/add-and-commit@v4
- uses: EndBug/add-and-commit@v9
with:
add: dist
message: Rebuild (automated)
author_name: Automated
author_email: github@asdf.kooi.me
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}

View File

@@ -24,7 +24,7 @@ jobs:
steps:
- uses: actions/checkout@v2
- uses: goto-bus-stop/setup-zig@v2
- run: zig fmt --check src/*.zig
- run: zig fmt --check .
```
Optionally set a Zig version:

28
dist/index.js vendored
View File

@@ -26193,18 +26193,18 @@ var require_constants6 = __commonJS({
(function(CacheFilename2) {
CacheFilename2["Gzip"] = "cache.tgz";
CacheFilename2["Zstd"] = "cache.tzst";
})(CacheFilename = exports2.CacheFilename || (exports2.CacheFilename = {}));
})(CacheFilename || (exports2.CacheFilename = CacheFilename = {}));
var CompressionMethod;
(function(CompressionMethod2) {
CompressionMethod2["Gzip"] = "gzip";
CompressionMethod2["ZstdWithoutLong"] = "zstd-without-long";
CompressionMethod2["Zstd"] = "zstd";
})(CompressionMethod = exports2.CompressionMethod || (exports2.CompressionMethod = {}));
})(CompressionMethod || (exports2.CompressionMethod = CompressionMethod = {}));
var ArchiveToolType;
(function(ArchiveToolType2) {
ArchiveToolType2["GNU"] = "gnu";
ArchiveToolType2["BSD"] = "bsd";
})(ArchiveToolType = exports2.ArchiveToolType || (exports2.ArchiveToolType = {}));
})(ArchiveToolType || (exports2.ArchiveToolType = ArchiveToolType = {}));
exports2.DefaultRetryAttempts = 2;
exports2.DefaultRetryDelay = 5e3;
exports2.SocketTimeout = 5e3;
@@ -26355,20 +26355,16 @@ var require_cacheUtils = __commonJS({
implicitDescendants: false
});
try {
for (var _e = true, _f = __asyncValues2(globber.globGenerator()), _g; _g = yield _f.next(), _a = _g.done, !_a; ) {
for (var _e = true, _f = __asyncValues2(globber.globGenerator()), _g; _g = yield _f.next(), _a = _g.done, !_a; _e = true) {
_c = _g.value;
_e = false;
try {
const file = _c;
const relativeFile = path2.relative(workspace, file).replace(new RegExp(`\\${path2.sep}`, "g"), "/");
core.debug(`Matched: ${relativeFile}`);
if (relativeFile === "") {
paths.push(".");
} else {
paths.push(`${relativeFile}`);
}
} finally {
_e = true;
const file = _c;
const relativeFile = path2.relative(workspace, file).replace(new RegExp(`\\${path2.sep}`, "g"), "/");
core.debug(`Matched: ${relativeFile}`);
if (relativeFile === "") {
paths.push(".");
} else {
paths.push(`${relativeFile}`);
}
}
} catch (e_1_1) {
@@ -78456,7 +78452,7 @@ var require_cacheHttpClient = __commonJS({
}
__name(createHttpClient, "createHttpClient");
function getCacheVersion(paths, compressionMethod, enableCrossOsArchive = false) {
const components = paths;
const components = paths.slice();
if (compressionMethod) {
components.push(compressionMethod);
}

View File

@@ -14,7 +14,7 @@
"simple-get": "^4.0.0"
},
"devDependencies": {
"esbuild": "^0.19.0",
"esbuild": "^0.20.0",
"standard": "^17.0.0"
},
"homepage": "https://github.com/goto-bus-stop/setup-zig",