update linter version #93
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test | |
on: | |
- push | |
- pull_request | |
permissions: {} | |
jobs: | |
test: | |
name: Test | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
# Some deps can't be installed purely from CPAN. And some other are just slow to install from there. | |
- run: sudo apt install libimage-magick-perl libgtk3-perl libglib-object-introspection-perl libtest-differences-perl libcarp-always-perl libdist-zilla-perl cpanminus xvfb | |
# Install everything which is still not installed, but don't mess current directory with root-owned files | |
- run: cp -R . /tmp/copy-for-dzil | |
- run: (cd /tmp/copy-for-dzil; dzil authordeps --missing | sudo cpanm --notest) | |
- run: dzil build | |
- run: ls -l | |
- run: mkdir /tmp/copy-for-deps | |
- run: cp -R Gtk3-ImageView-*/* /tmp/copy-for-deps | |
- run: sudo cpanm --installdeps /tmp/copy-for-deps | |
- run: xvfb-run --auto-servernum dzil test | |
- run: env GDK_SCALE=2 xvfb-run --auto-servernum dzil test | |
- run: git diff | |
- run: if [[ $(git diff) != "" ]]; then exit 1; fi | |
lint: | |
name: Lint | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- uses: super-linter/super-linter@v7.1.0 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
FILTER_REGEX_EXCLUDE: Makefile.PL |