-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: Cleanup and normalize workflow systax
- Loading branch information
Showing
3 changed files
with
24 additions
and
20 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
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
name: Luacheck | ||
|
||
on: [push, pull_request] | ||
on: [ push, pull_request ] | ||
|
||
jobs: | ||
|
||
|
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 |
---|---|---|
@@ -1,21 +1,25 @@ | ||
name: Luarocks | ||
|
||
on: [push, pull_request] | ||
on: [ push, pull_request ] | ||
|
||
jobs: | ||
|
||
luarocks: | ||
# More extensive testing gets done when a rockspec is touched, this just | ||
# makes sure expected files didn't shift without updating the rockspec | ||
build: | ||
name: Test bulid on Linux | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
- name: Setup ‘lua’ | ||
uses: leafo/gh-actions-lua@v8 | ||
- name: Setup ‘luarocks’ | ||
uses: leafo/gh-actions-luarocks@v4 | ||
- name: Luarocks lint | ||
run: | | ||
luarocks --local lint -- cassowary-scm-0.rockspec | ||
- name: Luarocks make | ||
run: | | ||
luarocks --local make -- cassowary-scm-0.rockspec | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
- name: Setup ‘lua’ | ||
uses: leafo/gh-actions-lua@v9 | ||
- name: Setup ‘luarocks’ | ||
uses: leafo/gh-actions-luarocks@v4 | ||
- name: Luarocks lint | ||
run: | | ||
luarocks lint -- cassowary-scm-0.rockspec | ||
- name: Luarocks make | ||
run: | | ||
luarocks make -- cassowary-scm-0.rockspec |