Skip to content

Commit 7c50221

Browse files
committed
lint
1 parent 437d4b6 commit 7c50221

2 files changed

Lines changed: 6 additions & 4 deletions

File tree

.github/actions/build-shared/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: 'Build Node.js (shared libraries)'
1+
name: Build Node.js (shared libraries)
22
description: >
33
Downloads the slim tarball built by the `build-tarball` job, extracts it,
44
installs Nix (+ cachix + sccache), then builds Node.js and runs the CI

tools/nix/collect-openssl-matrix.sh

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env bash
1+
#!/bin/sh
22
#
33
# Emits a JSON matrix of OpenSSL releases to test Node.js against with
44
# shared libraries, consumed by the `build-openssl` job in
@@ -14,9 +14,11 @@
1414
#
1515
# Usage: SUPPORTED_OPENSSL_VERSION=4.0 ./tools/nix/collect-openssl-matrix.sh
1616

17-
set -euo pipefail
17+
set -eu
1818

19-
here=$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" && pwd)
19+
: "${SUPPORTED_OPENSSL_VERSION:?SUPPORTED_OPENSSL_VERSION must be set}"
20+
21+
here=$(cd -- "$(dirname -- "$0")" && pwd)
2022

2123
# 1. Enumerate every `openssl_N` / `openssl_N_M` attribute exposed by the
2224
# repo-pinned nixpkgs. `tryEval` skips aliases that raise (e.g.

0 commit comments

Comments
 (0)