Skip to content

Update to Factorio v2.0 #60

Update to Factorio v2.0

Update to Factorio v2.0 #60

Workflow file for this run

name: CI
on:
pull_request:
branches: [ master ]
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: leafo/[email protected]
with:
luaVersion: "5.4.1"
- uses: leafo/[email protected]
- name: Install dependencies
run: |
luarocks install serpent
luarocks install busted
luarocks install luacheck
luarocks install faketorio
- name: Run tests
run: |
luacheck ./src/*.lua
luacheck ./src/todo/*.lua
faketorio package -c .github/.faketorio -v
- name: Get the mod zip as artifact
uses: actions/upload-artifact@v4
with:
name: Todo-List
path: target/*.zip