Skip to content

gametypes: add instagib ctf and instagib freezetag #9

gametypes: add instagib ctf and instagib freezetag

gametypes: add instagib ctf and instagib freezetag #9

Workflow file for this run

name: pre-commit
on:
push:
branches: [ master, develop ]
pull_request:
branches: [ master, develop ]
jobs:
pre-commit:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install pre-commit
run: sudo apt-get install pre-commit
- name: Run pre-commit
run: pre-commit run --all-files --show-diff-on-failure --color=always
- name: Check that all files generated by pre-commit are in git
run: |
newfiles="$(git ls-files --others --exclude-from=.gitignore)"
if [ "$newfiles" != "" ] ; then
echo "Please check-in the following files:"
echo "$newfiles"
exit 1
fi