From 364dc755affb5abcb9d40468328b1504af313e77 Mon Sep 17 00:00:00 2001 From: Tammo van der Heide Date: Thu, 12 Dec 2024 14:11:45 +0100 Subject: [PATCH] Update GitHub actions of CI workflow --- .github/workflows/CI.yml | 21 ++++++++++----------- LICENSE | 2 +- Makefile | 2 +- tex/paper.tex | 18 +++++++++--------- 4 files changed, 21 insertions(+), 22 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index d47d33e..606e734 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -1,4 +1,4 @@ -# Laurence Kedward 2021 +# Laurence Kedward 2024 # Licensed for use under the MIT license # (See LICENSE file) @@ -14,7 +14,7 @@ on: env: APT_DEPS: texlive-latex-recommended texlive-latex-extra texlive-extra-utils latexdiff perl rubber REPO_URL: https://github.com/LKedward/latex-github-collab - TEXTIDOTE_URL: https://github.com/sylvainhalle/textidote/releases/download/v0.8.2/textidote_0.8.2_all.deb + TEXTIDOTE_URL: https://github.com/sylvainhalle/textidote/releases/download/v0.8.3/textidote_0.8.3_all.deb jobs: SpellCheck: @@ -22,7 +22,7 @@ jobs: if: "!contains(github.event.head_commit.message, 'skip-ci')" steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install Ubuntu Dependencies run: | @@ -38,10 +38,9 @@ jobs: if: "!contains(github.event.head_commit.message, 'skip-ci')" steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - - run: | - git fetch --no-tags --prune --depth=1 origin +refs/heads/*:refs/remotes/origin/* + - run: git fetch --no-tags --prune --depth=1 origin +refs/heads/*:refs/remotes/origin/* - name: Install Ubuntu Dependencies run: | @@ -63,7 +62,7 @@ jobs: run: make diff - name: Checkout previews branch - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: ref: previews path: previews @@ -93,14 +92,14 @@ jobs: - name: Get Time if: github.event_name == 'pull_request' id: time - uses: nanzm/get-time-action@v1.1 + uses: nanzm/get-time-action@v2 with: - timeZone: 0 + timeZone: UTC+0 format: 'DD-MM-YYYY HH:mm:ss' - name: Find previous bot comment if: github.event_name == 'pull_request' - uses: peter-evans/find-comment@v2 + uses: peter-evans/find-comment@v3 id: fc with: issue-number: ${{ github.event.pull_request.number }} @@ -109,7 +108,7 @@ jobs: - name: Create PR comment if: github.event_name == 'pull_request' - uses: peter-evans/create-or-update-comment@v2 + uses: peter-evans/create-or-update-comment@v4 with: comment-id: ${{ steps.fc.outputs.comment-id }} issue-number: ${{github.event.number}} diff --git a/LICENSE b/LICENSE index f824298..3b8b313 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2021 Laurence Kedward +Copyright (c) 2024 Laurence Kedward Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/Makefile b/Makefile index 97aeaaa..eaf6e2c 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -# Laurence Kedward 2021 +# Laurence Kedward 2024 # Licensed for use under the MIT License (see LICENSE file) SHELL=/bin/bash diff --git a/tex/paper.tex b/tex/paper.tex index 654b9a0..2f62974 100644 --- a/tex/paper.tex +++ b/tex/paper.tex @@ -21,20 +21,20 @@ \subsection{Prerequisites} \subsection*{Mandatory} \begin{itemize} - + \item \texttt{texlive-latex-recommended} \item \texttt{texlive-latex-extra} - + \end{itemize} \subsection*{Optional} \begin{itemize} - + \item \texttt{texlive-latex-utils} \quad (for \texttt{texcount}) \item \texttt{rubber} \quad (for using the \texttt{Makefile}) \item \texttt{perl} \quad (for \texttt{texcount} and \texttt{latexdiff}) \item \texttt{latexdiff} - + \end{itemize} @@ -60,19 +60,19 @@ \section{License: MIT} \begin{quote} MIT License - - Copyright (c) 2021 Laurence Kedward - + + Copyright (c) 2024 Laurence Kedward + Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - + The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE