Update README.md #363
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: pre-commit hook | |
on: | |
push: | |
branches: [ "devel", "testing", "stable", "LTS" ] | |
pull_request: | |
branches: [ "devel", "testing", "stable", "LTS" ] | |
jobs: | |
build: | |
# name: ${{ matrix.install-gui }} | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Update APT | |
run: sudo apt-get update -y | |
- name: Install dependencies | |
run: sudo apt install -y shfmt shellcheck | |
- uses: actions/checkout@v4 | |
- name: print `github.ref=${{ github.ref }}` and `github.sha=${{ github.sha }}` | |
run: "echo Ref: ${{ github.ref }}, SHA: ${{ github.sha }}" | |
- name: pre-commit hook should not fail | |
run: ./pre-commit-hook.sh |