diff --git a/.github/workflows/test-bsd.yml b/.github/workflows/test-bsd.yml index 92da38e..26775d6 100644 --- a/.github/workflows/test-bsd.yml +++ b/.github/workflows/test-bsd.yml @@ -15,7 +15,7 @@ jobs: - ubuntu-24.04 steps: - uses: actions/checkout@v5 - - uses: vmactions/freebsd-vm@v1.2.1 + - uses: vmactions/freebsd-vm@v1.2.3 with: prepare: | pkg update diff --git a/lint.do b/lint.do index eeed45a..85a9877 100644 --- a/lint.do +++ b/lint.do @@ -3,14 +3,14 @@ # SPDX-FileCopyrightText: 2022-2025 David Rabkin # SPDX-License-Identifier: 0BSD redo-ifchange \ + ./.github/*.yml \ + ./.github/workflows/*.yml \ + ./app/* \ + ./container/*/Containerfile \ + ./lib/* \ ./*.do \ - .github/*.yml \ - .github/workflows/*.yml \ - app/* \ - container/*/Containerfile \ - lib/* \ - Makefile \ - README.adoc + ./Makefile \ + ./README.adoc BSH="$( CDPATH='' cd -- "$(dirname -- "$0" 2>&1)" 2>&1 && pwd -P 2>&1 )"/lib/base.sh || { @@ -21,7 +21,7 @@ BSH="$( # shellcheck disable=SC2034 # Variable appears unused. readonly \ - BASE_APP_VERSION=0.9.20250803 \ + BASE_APP_VERSION=0.9.20250819 \ BASE_MIN_VERSION=0.9.20231212 \ BSH set -- "$@" --quiet diff --git a/test-container.do b/test-container.do index 241aefc..03fa6f1 100644 --- a/test-container.do +++ b/test-container.do @@ -2,7 +2,7 @@ # vi:et lbr noet sw=2 ts=2 tw=79 wrap # SPDX-FileCopyrightText: 2022-2025 David Rabkin # SPDX-License-Identifier: 0BSD -redo-ifchange app/* lib/* +redo-ifchange ./app/* ./lib/* BSH="$( CDPATH='' cd -- "$(dirname -- "$0" 2>&1)" 2>&1 && pwd -P 2>&1 )"/lib/base.sh || { @@ -13,7 +13,7 @@ BSH="$( # shellcheck disable=SC2034 # Variable appears unused. readonly \ - BASE_APP_VERSION=0.9.20250617 \ + BASE_APP_VERSION=0.9.20250819 \ BASE_MIN_VERSION=0.9.20231228 \ BSH set -- "$@" --quiet @@ -35,7 +35,7 @@ inside "$(uname -m)" arm64 && ARM=true || ARM=false # The build is executed silently, resulting in a container hash. Runs a # container and automatically removes it after it stops. -for f in container/*/Containerfile; do +for f in ./container/*/Containerfile; do [ "$ARM" = true ] && inside "$f" archlinux && { printf >&2 'Arch Linux does not currently support ARM architecture.\n' continue diff --git a/test.do b/test.do index 964b2b2..d87e8d4 100644 --- a/test.do +++ b/test.do @@ -2,7 +2,7 @@ # vi:et lbr noet sw=2 ts=2 tw=79 wrap # SPDX-FileCopyrightText: 2022-2025 David Rabkin # SPDX-License-Identifier: 0BSD -redo-ifchange app/* lib/* +redo-ifchange ./app/* ./lib/* BSH="$( CDPATH='' cd -- "$(dirname -- "$0" 2>&1)" 2>&1 && pwd -P 2>&1 )"/lib/base.sh || { @@ -13,7 +13,7 @@ BSH="$( # shellcheck disable=SC2034 # Variable appears unused. readonly \ - BASE_APP_VERSION=0.9.20250604 \ + BASE_APP_VERSION=0.9.20250819 \ BASE_MIN_VERSION=0.9.20231228 \ BSH set -- "$@" --quiet @@ -23,10 +23,10 @@ set -- "$@" --quiet for sh in ash bash dash fish ksh oksh tcsh yash zsh; do cmd_exists "$sh" || continue chrono_sta run || die - for ok in app/*-ok; do + for ok in ./app/*-ok; do "$sh" -c "$ok 2>&1" || die "$ok" on "$sh" returns negative. done - for no in app/*-no; do + for no in ./app/*-no; do # shellcheck disable=SC2015 # A && B || C. "$sh" -c "$no 2>&1" && die "$no" on "$sh" returns positive. || : done