summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2022-02-01 15:51:01 +0800
committerMatt Johnston <matt@ucc.asn.au>2022-02-01 15:51:01 +0800
commitaf5b94a47e7b5ef1cc3b88b41a2f9222a0949c23 (patch)
tree2a901bf32c11b5d3cda90371530dd81242b96f93
parentc60b316ab66ba60f2ff5d4e32aa63dc3617b575f (diff)
parentf99de6ee19deae8a45093d6aebf29db1a34a3f49 (diff)
downloaddropbear-af5b94a47e7b5ef1cc3b88b41a2f9222a0949c23.tar.gz
merge
-rw-r--r--.github/workflows/autoconf.yml25
1 files changed, 25 insertions, 0 deletions
diff --git a/.github/workflows/autoconf.yml b/.github/workflows/autoconf.yml
new file mode 100644
index 0000000..ae1bb8c
--- /dev/null
+++ b/.github/workflows/autoconf.yml
@@ -0,0 +1,25 @@
+# Checks that autoconf has been run if configure.ac was updated
+# Assumes that autoconf 2.69 was run, the same as ubuntu 20.04
+name: Autoconf Up To Date
+on:
+ pull_request:
+ push:
+ branches:
+ - master
+jobs:
+ autoconf:
+ runs-on: 'ubuntu-20.04'
+
+ steps:
+ - name: deps
+ run: |
+ sudo apt-get -y update
+ sudo apt-get -y install autoconf
+
+ - uses: actions/checkout@v2
+
+ - name: run autoconf
+ run: autoconf && autoheader
+
+ - name: check no difference
+ run: git diff --exit-code