Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

merge workflows from main #3

Merged
merged 12 commits into from
Oct 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# https://github.com/latex3/hyperref/blob/adc36adbc3650db73329469b43afb0ee86e3c807/.github/dependabot.yml

# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates

version: 2
updates:
- package-ecosystem: "github-actions" # See documentation for possible values
directory: "/" # Location of package manifests
schedule:
interval: "weekly"
203 changes: 203 additions & 0 deletions .github/tl_packages
Original file line number Diff line number Diff line change
@@ -0,0 +1,203 @@
# https://github.com/latex3/hyperref/blob/adc36adbc3650db73329469b43afb0ee86e3c807/.github/tl_packages
# The test framework itself
l3build

# this collection looks ok
collection-basic

# from collection latex:
amsmath
atbegshi
babel
babel-english
bigintcalc
bookmark
carlisle
colortbl
epstopdf-pkg
etexcmds
fancyhdr
firstaid
geometry
gettitlestring
graphics
graphics-cfg
hopatch
hycolor
hyperref
intcalc
kvdefinekeys
kvoptions
kvsetkeys
l3backend
l3kernel
l3packages
latex
latex-bin
latex-fonts
latex-lab
latexconfig
letltxmacro
ltxcmds
mfnfss
mptopdf
natbib
oberdiek
pdfescape
refcount
rerunfilecheck
stringenc
tagpdf
tools
uniquecounter
url

# From collection-latexextra
accsupp
acro
adjustbox
attachfile
# bearwear
# blindtext
cleveref
csquotes
doclicense
# duckuments
embedfile
enumitem
etoc
filecontents
fonttable
getfiledate
hobsub
hvlogos
hypdoc
intopdf
kantlipsum
lastpage
latex-amsmath-dev
latex-base-dev
latex-bin-dev
latex-context-ppchtex
latex-firstaid-dev
latex-graphics-dev
latex-lab-dev
latex-tools-dev
# lipsum
listing
listingsutf8
lua-check-hyphen
marginnote
mleftright
mlist
mmap
mwe
pdfcolmk
# scrlayer-fancyhdr
# scrwfile
# tabularray
transparent
varwidth
xpatch
zref

# from collection-luatex
ctablestack
lua-ul
lua-uni-algos
luacode
luacolor
lualibs
luamplib
luaotfload
luatex85
luatexbase
newpax

# from collection xetex
realscripts
xelatex-dev
xetex
xetexconfig

# from collection-langgerman
babel-german
dehyph
dehyph-exptl
hyphen-german

# from collection-latexrecommended
attachfile2
beamer
booktabs
caption
etoolbox
float
fontspec
hologo
index
infwarerr
# koma-script
l3experimental
latexbug
lineno
listings
mathtools
# memoir
microtype
parskip
pdfcolfoot
pdflscape
pdfmanagement-testphase
pdfpages
pdftexcmds
ragged2e
setspace
textcase
translator
unicode-math
xcolor
xkeyval

# other
pgf
marginnote
tikzducks
tikzlings
catchfile
babel-latin
hyphen-latin
sourcesanspro
psnfss
tex-gyre
hyperxmp
tugboat
babel-greek
babel-spanish
times
ntheorem
babel-dutch
hyphen-greek
greek-fontenc
greek-inputenc
hyphen-ancientgreek
cbfonts-fd
cbfonts

# fonts
amsfonts
cm-super

# ychwanegol

babel-welsh
hyphen-welsh

nfssext-cfr
cfr-lm

bookmark
parskip
svn-prov
xcolor
xurl
54 changes: 54 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
# This is a basic workflow to help you get started with Actions

# https://github.com/latex3/hyperref/blob/adc36adbc3650db73329469b43afb0ee86e3c807/.github/workflows/main.yaml
# https://github.com/josephwright/siunitx/blob/main/.github/workflows/main.yaml

name: Automatic Checks

# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events but only for the "main" branch
push:
branches:
- "*"
pull_request:
branches:
- "*"

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "l3build"
l3build-ctan:
# The type of runner that the job will run on
runs-on: ubuntu-latest

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v4

# https://github.com/josephwright/siunitx/blob/549cad913591b92a3a199b7477a325866303bf29/.github/workflows/main.yaml
# We need Ghostscript for XeTeX tests.
- run: sudo apt-get update && sudo apt-get install ghostscript
- name: Install TeX Live
uses: zauguin/install-texlive@v3
with:
# List the required TeX Live packages in a separate file to allow reuse in
# different workflows.
package_file: .github/tl_packages
- name: Remove environmental restrictions
run: sed -i '/^os\.setenv /d' build.lua
- name: Run l3build
run: l3build ctan
# https://github.com/latex3/hyperref/blob/adc36adbc3650db73329469b43afb0ee86e3c807/.github/workflows/main.yaml
- name: Archive failed test output
# what does this do exactly?
if: ${{ always() }}
uses: zauguin/l3build-failure-artifacts@v1
with:
name: testfiles-fillwith
# Decide how long to keep the test output artifact:
# retention-days: 3