Merge pull request #5 from onk/fix_ci #7
This file contains hidden or 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: | |
| pull_request: | |
| push: | |
| branches: [master] | |
| jobs: | |
| perl_test: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| perl-version: | |
| - '5.14-buster' | |
| - latest | |
| container: | |
| image: perl:${{ matrix.perl-version }} | |
| steps: | |
| - uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1 | |
| - name: perl version | |
| run: perl -V | |
| - name: Install minilla | |
| run: cpanm -n Minilla | |
| - name: Preinstall OAuth::Lite without tests # workaround for OpenSSL 3 issues | |
| run: cpanm -n --notest OAuth::Lite::Consumer | |
| - name: Mark workspace as safe for git | |
| run: git config --global --add safe.directory "$GITHUB_WORKSPACE" | |
| - name: minil test | |
| run: minil test |