Run luacheck in pre-commit
parent
d8b4de1823
commit
43742d54a1
|
@ -1,22 +0,0 @@
|
|||
# This is a basic workflow to help you get started with Actions
|
||||
|
||||
name: CI
|
||||
|
||||
# Controls when the workflow will run
|
||||
on:
|
||||
# Triggers the workflow on push or pull request events but only for the "master" branch
|
||||
push:
|
||||
branches: [ "master" ]
|
||||
pull_request:
|
||||
branches: [ "master" ]
|
||||
|
||||
# Allows you to run this workflow manually from the Actions tab
|
||||
workflow_dispatch:
|
||||
jobs:
|
||||
luacheck:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
- name: Luacheck linter
|
||||
uses: lunarmodules/luacheck@v0
|
|
@ -5,3 +5,7 @@ repos:
|
|||
- id: end-of-file-fixer
|
||||
- id: trailing-whitespace
|
||||
- id: mixed-line-ending
|
||||
- repo: https://github.com/lunarmodules/luacheck
|
||||
rev: v0.26.1
|
||||
hooks:
|
||||
- id: luacheck
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Virtual key
|
||||
|
||||
![Build Status](https://github.com/louisroyer-minetest/virtual-key/actions/workflows/main.yml/badge.svg) [![ContentDB](https://content.minetest.net/packages/louisroyer/virtual_key/shields/title/)](https://content.minetest.net/packages/louisroyer/virtual_key/) [![ContentDB](https://content.minetest.net/packages/louisroyer/virtual_key/shields/downloads/)](https://content.minetest.net/packages/louisroyer/virtual_key/)
|
||||
[![ContentDB](https://content.minetest.net/packages/louisroyer/virtual_key/shields/title/)](https://content.minetest.net/packages/louisroyer/virtual_key/) [![ContentDB](https://content.minetest.net/packages/louisroyer/virtual_key/shields/downloads/)](https://content.minetest.net/packages/louisroyer/virtual_key/)
|
||||
|
||||
This minetest mod add virtual keys you can add in your keyring.
|
||||
|
||||
|
|
Loading…
Reference in New Issue