Skip to content

Commit

Permalink
Use old Travis CI configurations in GitHub Actions (#36)
Browse files Browse the repository at this point in the history
  • Loading branch information
Panquesito7 authored Sep 9, 2023
1 parent ce8a6ae commit b9e69b7
Showing 1 changed file with 15 additions and 5 deletions.
20 changes: 15 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,18 @@ jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: lint
uses: Roang-zero1/factorio-mod-luacheck@master
with:
luacheckrc_url: ""
- uses: actions/checkout@v3
- uses: actions/setup-python@v4

- name: Install LuaRocks
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 .

0 comments on commit b9e69b7

Please sign in to comment.