Skip to content

Commit

Permalink
Update GitHub actions of CI workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
vanderhe committed Dec 12, 2024
1 parent da8f22f commit 364dc75
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 22 deletions.
21 changes: 10 additions & 11 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Laurence Kedward 2021
# Laurence Kedward 2024
# Licensed for use under the MIT license
# (See LICENSE file)

Expand All @@ -14,15 +14,15 @@ 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:
runs-on: ubuntu-latest
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: |
Expand All @@ -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: |
Expand All @@ -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
Expand Down Expand Up @@ -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 }}
Expand All @@ -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}}
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Laurence Kedward 2021
# Laurence Kedward 2024
# Licensed for use under the MIT License (see LICENSE file)

SHELL=/bin/bash
Expand Down
18 changes: 9 additions & 9 deletions tex/paper.tex
Original file line number Diff line number Diff line change
Expand Up @@ -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}


Expand All @@ -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
Expand Down

0 comments on commit 364dc75

Please sign in to comment.