Merge pull request #167 from UB-Mannheim/collections #115
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
# GitHub action for continuous integration of UB-Mannheim/malibu | |
name: Check code | |
on: | |
pull_request: | |
push: | |
jobs: | |
ci: | |
name: CI checks | |
runs-on: ubuntu-latest | |
steps: | |
# Checkout the repository to the GitHub Actions runner | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Install dependencies | |
# php-codesniffer is used for the PSR-2 conformance test. | |
# shellcheck for testing shell scripts for common pitfalls | |
run: | | |
sudo apt-get --quiet update | |
sudo apt-get install --yes php-codesniffer shellcheck | |
- name: Run php-codeniffer and shellcheck | |
run: dist/pre-commit.sh . |