mirror of
https://github.com/minetest/minetest_game.git
synced 2024-12-22 15:00:18 +01:00
Replace Travis CI with GitHub actions (#2661)
Co-authored-by: sfan5 <sfan5@live.de>
This commit is contained in:
parent
c96cc55c40
commit
92701885d0
16
.github/workflows/build.yml
vendored
Normal file
16
.github/workflows/build.yml
vendored
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
name: build
|
||||||
|
on: [push, pull_request]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
luacheck:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- name: Install Luarocks
|
||||||
|
run: |
|
||||||
|
sudo apt-get update -qyy
|
||||||
|
sudo apt-get install luarocks -qyy
|
||||||
|
- name: Install Luacheck
|
||||||
|
run: luarocks install --local luacheck
|
||||||
|
- name: Run Luacheck
|
||||||
|
run: $HOME/.luarocks/bin/luacheck mods
|
11
.travis.yml
11
.travis.yml
@ -1,11 +0,0 @@
|
|||||||
language: generic
|
|
||||||
addons:
|
|
||||||
apt:
|
|
||||||
packages:
|
|
||||||
- luarocks
|
|
||||||
before_install:
|
|
||||||
- luarocks install --local luacheck
|
|
||||||
script:
|
|
||||||
- $HOME/.luarocks/bin/luacheck ./mods
|
|
||||||
notifications:
|
|
||||||
email: false
|
|
Loading…
Reference in New Issue
Block a user