summaryrefslogtreecommitdiffhomepage
path: root/.github
diff options
context:
space:
mode:
Diffstat (limited to '.github')
-rw-r--r--.github/ISSUE_TEMPLATE/bug_report.yml2
-rw-r--r--.github/workflows/ci.yml19
2 files changed, 20 insertions, 1 deletions
diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml
index c32923f..597ea1a 100644
--- a/.github/ISSUE_TEMPLATE/bug_report.yml
+++ b/.github/ISSUE_TEMPLATE/bug_report.yml
@@ -30,7 +30,7 @@ body:
id: version
attributes:
label: whoson --version
- placeholder: whoson 1.0.0
+ placeholder: whoson 1.1.0
validations:
required: true
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 0b30bfe..db6b52c 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -37,3 +37,22 @@ jobs:
# well formed. -n runs nothing.
- run: make -n all
- run: make -n install check list
+
+ port:
+ name: zopen port
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1
+ with:
+ persist-credentials: false
+ # buildenv is sourced by zopen's shell, and the port's stable tarball
+ # must be the release this tree claims to be.
+ - run: sh -n buildenv
+ - name: buildenv matches VERSION
+ run: |
+ version=$(sed -n 's/^VERSION[[:space:]]*=[[:space:]]*//p' Makefile)
+ port=$(sed -n 's/^WHOSON_VERSION="\(.*\)"/\1/p' buildenv)
+ if [ "$version" != "$port" ]; then
+ echo "buildenv $port != Makefile $version" >&2
+ exit 1
+ fi