mirror of
https://github.com/louisroyer/minetest-toolranks-extras.git
synced 2024-10-05 17:23:12 +02:00
7b76144329
- Move repository to https://github.com/louisroyer-minetest/toolranks-extras
31 lines
788 B
YAML
31 lines
788 B
YAML
# 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
|
|
pre-commit:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- uses: actions/setup-python@v4
|
|
with:
|
|
python-version: 'pypy3.9'
|
|
- uses: pre-commit/action@v3.0.0
|