From 5edcd73e97dfa4801c553e9920fef9d5cd4fa5e6 Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Sun, 15 Dec 2024 20:43:52 +0100 Subject: [PATCH 1/2] README: update instructions for installing and running Signed-off-by: Sebastiaan van Stijn --- README.md | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 7897798..dedc16d 100644 --- a/README.md +++ b/README.md @@ -7,11 +7,8 @@ Uses [blackfriday](https://github.com/russross/blackfriday) to process markdown ### Usage -``` -./go-md2man -in /path/to/markdownfile.md -out /manfile/output/path -``` +```bash +go install github.com/cpuguy83/go-md2man@latest -### How to contribute - -We use go modules to manage dependencies. -As such you must be using at least go1.11. +go-md2man -in /path/to/markdownfile.md -out /manfile/output/path +``` From 73f3da7af783f783978a184b644bb01c756c6c8c Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Sun, 15 Dec 2024 20:02:57 +0100 Subject: [PATCH 2/2] update minimum go version to go1.12, and test in gha Signed-off-by: Sebastiaan van Stijn --- .github/workflows/test.yml | 2 +- go.mod | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index f8739cc..1144ec3 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -11,7 +11,7 @@ jobs: name: Build strategy: matrix: - go-version: [1.18.x, 1.19.x, 1.20.x, 1.21.x] + go-version: [1.12.x, 1.18.x, 1.19.x, 1.20.x, 1.21.x] platform: [ubuntu-20.04] runs-on: ${{ matrix.platform }} steps: diff --git a/go.mod b/go.mod index 0bc888d..12e550d 100644 --- a/go.mod +++ b/go.mod @@ -1,5 +1,5 @@ module github.com/cpuguy83/go-md2man/v2 -go 1.11 +go 1.12 require github.com/russross/blackfriday/v2 v2.1.0