diff --git a/.github/workflows/markdown-lint.yml b/.github/workflows/markdown-lint.yml index 6797d21d..b60c65e8 100644 --- a/.github/workflows/markdown-lint.yml +++ b/.github/workflows/markdown-lint.yml @@ -38,3 +38,5 @@ jobs: steps: - uses: actions/checkout@cd7d8d697e10461458bc61a30d094dc601a8b017 - uses: articulate/actions-markdownlint@v1 + with: + config: markdownlint.yml diff --git a/.rultor.yml b/.rultor.yml index e1542072..c03f1294 100644 --- a/.rultor.yml +++ b/.rultor.yml @@ -39,6 +39,5 @@ release: sudo docker build --no-cache --tag "${repo}:${tag}" "$(pwd)" mkdir /tmp/dataset sudo docker run --rm "${repo}:${tag}" make install env lint test - cat ../docker-password | \ - sudo docker login --password-stdin --username yegor256 + cat ../docker-password | sudo docker login --password-stdin --username yegor256 sudo docker push "${repo}:${tag}" diff --git a/Dockerfile b/Dockerfile index d92dc9c3..bb804fe4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -79,11 +79,9 @@ RUN wget --quiet http://mirror.ctan.org/systems/texlive/tlnet/install-tl.zip \ && arc=$(find "/usr/local/texlive/${year}/bin" -type d -name "*-linux" -exec basename {} \;) \ && bin=/usr/local/texlive/${year}/bin/${arc} \ && export PATH=${PATH}:${bin} \ - && echo "export PATH=\${PATH}:${bin}" > /etc/profile.d/texlive.sh \ - && chmod a+x /etc/profile.d/texlive.sh \ && tlmgr init-usertree \ && tlmgr install latexmk \ - && rm -rf install-tl execs.txt + && rm -rf install-tl # Ruby RUN apt-get update -y --fix-missing \ diff --git a/action.yml b/action.yml deleted file mode 100644 index eb8d64de..00000000 --- a/action.yml +++ /dev/null @@ -1,39 +0,0 @@ -# MIT License -# -# Copyright (c) 2021-2024 Yegor Bugayenko -# -# 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 -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. ---- -name: cam-action -description: 'Run full cycle with one repository' -branding: - icon: alert-triangle - color: orange -runs: - using: docker - image: Dockerfile - entrypoint: /bin/bash - args: - - '--login' - - '-c' - - > - export HOME=/cam; - cd ${HOME}; - . /root/.profile; - make install env lint test diff --git a/markdownlint.yml b/markdownlint.yml new file mode 100644 index 00000000..404c7144 --- /dev/null +++ b/markdownlint.yml @@ -0,0 +1,4 @@ +--- +default: true +MD013: + line_length: 160 \ No newline at end of file