Skip to content

Update README.md

Update README.md #368

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