Skip to content

Commit b9e43b7

Browse files
bdovazgithub-actions[bot]echoix
authored
Use renovate with perlcritic (#4538)
* Use renovate with perlcritic * Ignore word * [build-command] Update generated files * [build-command] Update generated files --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Edouard Choinière <27212526+echoix@users.noreply.github.com>
1 parent 91649cf commit b9e43b7

File tree

4 files changed

+12
-3
lines changed

4 files changed

+12
-3
lines changed

.cspell.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1367,6 +1367,7 @@
13671367
"shpss",
13681368
"shutil",
13691369
"simplexml",
1370+
"skaji",
13701371
"slshape",
13711372
"smallskip",
13721373
"smtplib",

Dockerfile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,9 @@ ARG LUA_SELENE_VERSION=0.28.0
148148
ARG LUA_STYLUA_VERSION=2.0.0
149149
# renovate: datasource=npm depName=markdown-link-check
150150
ARG MARKDOWN_MARKDOWN_LINK_CHECK_VERSION=3.12.2
151+
# renovate: datasource=github-tags depName=skaji/cpm
152+
ARG PERL_PERLCRITIC_VERSION=0.997021
153+
151154
# renovate: datasource=nuget depName=PSScriptAnalyzer registryUrl=https://www.powershellgallery.com/api/v2/
152155
ARG PSSA_VERSION='1.23.0'
153156

@@ -708,7 +711,7 @@ RUN wget --quiet https://github.com/pmd/pmd/releases/download/pmd_releases%2F${P
708711
# markdown-link-check installation
709712
#
710713
# perlcritic installation
711-
&& curl -fsSL https://raw.githubusercontent.com/skaji/cpm/main/cpm | perl - install -g --show-build-log-on-failure --without-build --without-test --without-runtime Perl::Critic \
714+
&& curl -fsSL https://raw.githubusercontent.com/skaji/cpm/refs/tags/${PERL_PERLCRITIC_VERSION}/cpm | perl - install -g --show-build-log-on-failure --without-build --without-test --without-runtime Perl::Critic \
712715
&& rm -rf /root/.perl-cpm
713716

714717
#

linters/perl_perlcritic/Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@ FROM python:3.12.8-alpine3.21
4848
## @generated by .automation/build.py using descriptor files, please do not update manually ##
4949
#############################################################################################
5050
#ARG__START
51+
# renovate: datasource=github-tags depName=skaji/cpm
52+
ARG PERL_PERLCRITIC_VERSION=0.997021
5153

5254
#ARG__END
5355

@@ -148,7 +150,7 @@ ENV PATH="/node-deps/node_modules/.bin:${PATH}" \
148150
#############################################################################################
149151
#OTHER__START
150152
# perlcritic installation
151-
RUN curl -fsSL https://raw.githubusercontent.com/skaji/cpm/main/cpm | perl - install -g --show-build-log-on-failure --without-build --without-test --without-runtime Perl::Critic \
153+
RUN curl -fsSL https://raw.githubusercontent.com/skaji/cpm/refs/tags/${PERL_PERLCRITIC_VERSION}/cpm | perl - install -g --show-build-log-on-failure --without-build --without-test --without-runtime Perl::Critic \
152154
&& rm -rf /root/.perl-cpm
153155

154156
#

megalinter/descriptors/perl.megalinter-descriptor.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,8 @@ linters:
3232
install:
3333
dockerfile:
3434
- |
35-
RUN curl -fsSL https://raw.githubusercontent.com/skaji/cpm/main/cpm | perl - install -g --show-build-log-on-failure --without-build --without-test --without-runtime Perl::Critic \
35+
# renovate: datasource=github-tags depName=skaji/cpm
36+
ARG PERL_PERLCRITIC_VERSION=0.997021
37+
- |
38+
RUN curl -fsSL https://raw.githubusercontent.com/skaji/cpm/refs/tags/${PERL_PERLCRITIC_VERSION}/cpm | perl - install -g --show-build-log-on-failure --without-build --without-test --without-runtime Perl::Critic \
3639
&& rm -rf /root/.perl-cpm

0 commit comments

Comments
 (0)