diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..817e409 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,11 @@ +on: [push, pull_request] +name: build +jobs: + lint: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@master + - name: lint + uses: Roang-zero1/factorio-mod-luacheck@master + with: + luacheckrc_url: "" diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 211285a..0000000 --- a/.travis.yml +++ /dev/null @@ -1,15 +0,0 @@ -dist: bionic -language: python - -python: - - 3.7.1 - -install: - - sudo apt-get update -qq - - sudo apt-get install -qqq luarocks - - pip3 install pre-commit - - luarocks install --local luacheck - -script: - - pre-commit run --all-files - - $HOME/.luarocks/bin/luacheck .