From 865aac8f50de5028ac8d2b4fd6505b189386d996 Mon Sep 17 00:00:00 2001 From: Graham Ollis Date: Sun, 22 Dec 2024 11:18:09 -0700 Subject: [PATCH] automatic migration: bump-2024 --- .github/workflows/cygwin.yml | 89 ------------------------------------ .github/workflows/linux.yml | 4 +- .gitignore | 2 + .vscode/settings.json | 6 +++ README.md | 4 +- dist.ini | 5 +- 6 files changed, 15 insertions(+), 95 deletions(-) delete mode 100644 .github/workflows/cygwin.yml create mode 100644 .vscode/settings.json diff --git a/.github/workflows/cygwin.yml b/.github/workflows/cygwin.yml deleted file mode 100644 index e520750..0000000 --- a/.github/workflows/cygwin.yml +++ /dev/null @@ -1,89 +0,0 @@ -name: cygwin - -on: - push: - branches: - - '*' - tags-ignore: - - '*' - pull_request: - -env: - PERL5LIB: /cygdrive/c/cx/lib/perl5 - PERL_LOCAL_LIB_ROOT: /cygdrive/cx - PERL_MB_OPT: --install_base /cygdrive/c/cx - PERL_MM_OPT: INSTALL_BASE=/cygdrive/c/cx - ALIEN_BUILD_PLUGIN_PKGCONFIG_COMMANDLINE_TEST: 1 # Test Alien::Build::Plugin::PkgConfig::CommandLine - CYGWIN_NOWINPATH: 1 - -jobs: - perl: - - runs-on: windows-latest - - strategy: - fail-fast: false - - defaults: - run: - shell: C:\tools\cygwin\bin\bash.exe --login --norc -eo pipefail -o igncr '{0}' - - steps: - - name: Set git to use LF - run: | - git config --global core.autocrlf false - git config --global core.eol lf - shell: powershell - - - uses: actions/checkout@v2 - - - name: Set up Cygwin - uses: egor-tensin/setup-cygwin@v3 - with: - platform: x64 - packages: make perl gcc-core gcc-g++ pkg-config libcrypt-devel libssl-devel git libffi-devel libarchive-devel - - - name: perl -V - run: | - perl -V - gcc --version - - - name: Prepare for cache - run: | - perl -V > perlversion.txt - gcc --version >> perlversion.txt - ls perlversion.txt - - - name: Cache CPAN modules - uses: actions/cache@v1 - with: - path: c:\cx - key: ${{ runner.os }}-build-cygwin-${{ hashFiles('perlversion.txt') }} - restore-keys: | - ${{ runner.os }}-build-cygwin-${{ hashFiles('perlversion.txt') }} - - - name: Install Static Dependencies - run: | - export PATH="/cygdrive/c/cx/bin:$PATH" - cd $( cygpath -u $GITHUB_WORKSPACE ) - yes | cpan App::cpanminus || true - cpanm -n Dist::Zilla - perl -S dzil authordeps --missing | perl -S cpanm -n - perl -S dzil listdeps --missing | perl -S cpanm -n - - - name: Install Dynamic Dependencies - run: | - export PATH="/cygdrive/c/cx/bin:$PATH" - cd $( cygpath -u $GITHUB_WORKSPACE ) - perl -S dzil run --no-build 'perl -S cpanm --installdeps .' - - - name: Run Tests - run: | - export PATH="/cygdrive/c/cx/bin:$PATH" - cd $( cygpath -u $GITHUB_WORKSPACE ) - perl -S dzil test -v - - - name: CPAN log - if: ${{ failure() }} - run: | - cat ~/.cpanm/latest-build/build.log diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index daa3c78..c9f0069 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -18,7 +18,9 @@ jobs: matrix: cip_tag: - static - - "5.37" + - "5.41" + - "5.40" + - "5.38" - "5.36" - "5.34" - "5.32" diff --git a/.gitignore b/.gitignore index 08afe67..dbaa317 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,5 @@ /.build /example/myapp/log/development.log *.swp +*.old +*.orig diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..578c5ee --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,6 @@ +{ + "pls.perlcritic.perlcriticrc": "perlcriticrc", + "pls.inc": [ + "$ROOT_PATH/lib" + ] +} diff --git a/README.md b/README.md index bac2b97..f7b2308 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Mojolicious::Plugin::TtRenderer ![linux](https://github.com/uperl/Mojolicious-Plugin-TtRenderer/workflows/linux/badge.svg) ![windows](https://github.com/uperl/Mojolicious-Plugin-TtRenderer/workflows/windows/badge.svg) ![macos](https://github.com/uperl/Mojolicious-Plugin-TtRenderer/workflows/macos/badge.svg) ![cygwin](https://github.com/uperl/Mojolicious-Plugin-TtRenderer/workflows/cygwin/badge.svg) +# Mojolicious::Plugin::TtRenderer ![linux](https://github.com/uperl/Mojolicious-Plugin-TtRenderer/workflows/linux/badge.svg) ![windows](https://github.com/uperl/Mojolicious-Plugin-TtRenderer/workflows/windows/badge.svg) ![macos](https://github.com/uperl/Mojolicious-Plugin-TtRenderer/workflows/macos/badge.svg) Template Renderer Plugin for Mojolicious @@ -282,7 +282,7 @@ Matthew Lawrence (MATTLAW) # COPYRIGHT AND LICENSE -This software is copyright (c) 2009-2022 by Ask Bjørn Hansen. +This software is copyright (c) 2009-2024 by Ask Bjørn Hansen. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. diff --git a/dist.ini b/dist.ini index fe6dd1c..c420b09 100644 --- a/dist.ini +++ b/dist.ini @@ -3,18 +3,17 @@ author = Graham Ollis license = Perl_5 copyright_holder = Ask Bjørn Hansen -copyright_year = 2009-2022 +copyright_year = 2009-2024 version = 1.62 [@Author::Plicease] -:version = 2.69 +:version = 2.79 release_tests = 1 github_user = uperl workflow = linux workflow = windows workflow = macos -workflow = cygwin diag_preamble = | $post_diag = sub { diag_preamble = | require Mojo::IOLoop;