fix(cicd): manually setup actions as GH actions don't work on this image #2

Merged
jiriks74 merged 6 commits from cicd into main 2023-10-04 08:57:37 +02:00
2 changed files with 15 additions and 7 deletions
Showing only changes of commit e916c47d3e - Show all commits

@ -6,5 +6,11 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Luacheck
run |
apt update && apt -y install lua-check
- name: Luacheck linter
uses: lunarmodules/luacheck@v1
run: |
luacheck .

@ -6,10 +6,12 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup StyLua
run: |
apt update && apt install cargo -y
cargo install stylua
- name: StyLua check
uses: JohnnyMorganz/stylua-action@v3
with:
token: ${{ secrets.GH_TOKEN }}
version: v0.18.2 # NOTE: we recommend pinning to a specific version in case of formatting changes
# CLI arguments
args: --check .
run: |
stulua .