-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
216 changed files
with
17,422 additions
and
4,996 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
name: Dev Deploy | ||
|
||
on: | ||
push: | ||
branches: | ||
- dev | ||
paths-ignore: | ||
- 'docs/**' | ||
- '.luacheckrc' | ||
|
||
jobs: | ||
deploy: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repo | ||
uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Install Lua | ||
uses: leafo/gh-actions-lua@v5 | ||
|
||
- name: Install LuaRocks | ||
uses: leafo/gh-actions-luarocks@v2 | ||
|
||
- name: Install LDoc | ||
run: luarocks install ldoc 1.4.4-1 | ||
|
||
- name: Generate Documents | ||
working-directory: docs | ||
run: ldoc -i . | ||
|
||
- name: Commit changes | ||
uses: EndBug/add-and-commit@v4 | ||
with: | ||
message: "Automatic Doc Update" | ||
add: "./docs/** .luacheckrc" | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
name: CI PR Checker | ||
|
||
on: pull_request | ||
|
||
jobs: | ||
luacheck: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repo | ||
uses: actions/checkout@v2 | ||
|
||
- name: Extract branch name | ||
shell: bash | ||
run: echo "##[set-output name=branch;]$(echo ${GITHUB_BASE_REF#refs/heads/})" | ||
id: extract_branch | ||
|
||
- name: Lint | ||
uses: Roang-zero1/factorio-mod-luacheck@master | ||
with: | ||
luacheckrc_url: https://raw.githubusercontent.com/explosivegaming/scenario/${{ steps.extract_branch.outputs.branch }}/.luacheckrc | ||
|
||
docs: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repo | ||
uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Install Lua | ||
uses: leafo/gh-actions-lua@v5 | ||
|
||
- name: Install LuaRocks | ||
uses: leafo/gh-actions-luarocks@v2 | ||
|
||
- name: Install LDoc | ||
run: luarocks install ldoc 1.4.4-1 | ||
|
||
- name: Generate Documents | ||
working-directory: docs | ||
run: ldoc -i . |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule Factorio-luacheckrc
deleted from
0c0518
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.