Use old Travis CI configurations in GitHub Actions (#36)

This commit is contained in:
David Leal 2023-09-09 09:26:38 -06:00 committed by GitHub
parent ce8a6aec22
commit b9e69b70c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 15 additions and 5 deletions

View File

@ -4,8 +4,18 @@ jobs:
lint: lint:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@master - uses: actions/checkout@v3
- name: lint - uses: actions/setup-python@v4
uses: Roang-zero1/factorio-mod-luacheck@master
with: - name: Install LuaRocks
luacheckrc_url: "" run: |
sudo apt-get update -qq
sudo apt-get install -qqq luarocks
- name: Install pre-commit and LuaCheck
run: |
pip3 install pre-commit
luarocks install --local luacheck
- name: Run LuaCheck with pre-commit
run: |
pre-commit run --all-files
$HOME/.luarocks/bin/luacheck .