From 7cc34837eecb25f4febc005b4537d2774777c0f7 Mon Sep 17 00:00:00 2001 From: Norwid Behrnd Date: Wed, 22 Oct 2025 13:09:13 +0200 Subject: [PATCH 1/2] docs(README.md): update of documentation Signed-off-by: Norwid Behrnd --- README.md | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 682147f..46d223d 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ You do not *need* a separate GitHub Action. If you need LaTeX (because you want to convert through to PDF), you should use the `docker://pandoc/latex` image. Otherwise, the smaller `docker://pandoc/core` will suffice. -It is a good idea to be explicit about the pandoc version you require, such as `docker://pandoc/core:3.5`. +It is a good idea to be explicit about the pandoc version you require, such as `docker://pandoc/core:3.8`. This way, any future breaking changes in pandoc will not affect your workflow. You can find out whatever the latest released docker image is on [docker hub](https://hub.docker.com/r/pandoc/core/tags). You should avoid specifying *no* tag or the `latest` tag -- these will float to the latest image and will expose your workflow to potentially breaking changes. @@ -42,10 +42,9 @@ on: push jobs: convert_via_pandoc: - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 steps: - - uses: docker://pandoc/core:3.5 - with: + - uses: docker://pandoc/core:3.8 args: "--help" # gets appended to pandoc command ``` @@ -63,10 +62,10 @@ on: push jobs: convert_via_pandoc: - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 steps: - run: echo "foo" > input.txt # create an example file - - uses: docker://pandoc/core:3.5 + - uses: docker://pandoc/core:3.8 with: args: >- # allows you to break string into multiple lines --standalone @@ -98,7 +97,7 @@ on: push jobs: convert_via_pandoc: - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 steps: - uses: actions/checkout@v4 @@ -111,10 +110,10 @@ jobs: # this will also include README.md echo "files=$(printf '"%s" ' *.md)" > $GITHUB_OUTPUT - - uses: docker://pandoc/latex:3.5 + - uses: docker://pandoc/latex:3.8 with: args: --output=output/result.pdf ${{ steps.files_list.outputs.files }} - + - uses: actions/upload-artifact@v4 with: name: output @@ -132,7 +131,7 @@ Could not find data file templates/eisvogel.latex A work around to this is to specify the exact location on the filesystem of the template: ``` -- uses: docker://pandoc/extra:3.5 +- uses: docker://pandoc/extra:3.8 with: args: content/cv.md --output=content/cv.pdf --template /.pandoc/templates/eisvogel.latex --listings -V block-headings ``` From 47dac398d0b49bc578e726c07c27d0b34d3d9f97 Mon Sep 17 00:00:00 2001 From: Norwid Behrnd Date: Wed, 22 Oct 2025 13:11:10 +0200 Subject: [PATCH 2/2] build(workflow-yaml-files): update runners/docker images Signed-off-by: Norwid Behrnd --- .github/workflows/advanced.yml | 2 +- .github/workflows/long.yml | 4 ++-- .github/workflows/simple.yml | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/advanced.yml b/.github/workflows/advanced.yml index 3e47cb2..ba34996 100644 --- a/.github/workflows/advanced.yml +++ b/.github/workflows/advanced.yml @@ -4,7 +4,7 @@ on: push jobs: convert_via_pandoc: - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 steps: - uses: actions/checkout@v4 - name: create file list diff --git a/.github/workflows/long.yml b/.github/workflows/long.yml index ac04c1f..d9329cf 100644 --- a/.github/workflows/long.yml +++ b/.github/workflows/long.yml @@ -4,10 +4,10 @@ on: push jobs: convert_via_pandoc: - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 steps: - run: echo "foo" > input.txt # create an example file - - uses: docker://pandoc/core:3.5 + - uses: docker://pandoc/core:3.8 with: args: >- # allows you to break string into multiple lines --standalone diff --git a/.github/workflows/simple.yml b/.github/workflows/simple.yml index 7ae3e99..2a75720 100644 --- a/.github/workflows/simple.yml +++ b/.github/workflows/simple.yml @@ -4,8 +4,8 @@ on: push jobs: convert_via_pandoc: - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 steps: - - uses: docker://pandoc/core:3.5 + - uses: docker://pandoc/core:3.8 with: args: "--help" # gets appended to pandoc command