2021-03-19 22:06:39 +01:00
name : CI
# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the develop branch
on :
push :
2021-03-24 16:46:00 +01:00
branches : [ develop]
2021-03-19 22:06:39 +01:00
pull_request :
2021-03-24 16:46:00 +01:00
branches : [ develop]
2021-03-19 22:06:39 +01:00
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs :
# This workflow contains a single job called "build"
build :
# The type of runner that the job will run on
runs-on : ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps :
2021-03-24 16:46:00 +01:00
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses : actions/checkout@v2
2021-03-19 22:06:39 +01:00
2021-03-24 16:46:00 +01:00
# Use "Factorio Mod luacheck" from the marketplace
- name : Factorio Mod luacheck
uses : Roang-zero1/factorio-mod-luacheck@v1.1.0
with :
2021-03-19 22:06:39 +01:00
# URL to the luacheckrc configuration file to be used during checking.
# Per https://github.com/Roang-zero1/factorio-mod-luacheck/issues/2 - an empty string will use the project's .luacheckrc
2021-03-24 16:46:00 +01:00
luacheckrc_url : 'https://raw.githubusercontent.com/ComfyFactory/ComfyFactorio/develop/.luacheckrc' # optional, default is https://raw.githubusercontent.com/Nexela/Factorio-luacheckrc/0.17/.luacheckrc