fix(cicd): manually setup actions as GH actions don't work on this image (#2)
Reviewed-on: https://gitea.stefka.eu/jiriks74/astronvim_config/pulls/2
This commit is contained in:
parent
458af12abf
commit
936f405764
2 changed files with 12 additions and 9 deletions
|
@ -2,9 +2,15 @@ name: Luacheck
|
||||||
on: [push, pull_request]
|
on: [push, pull_request]
|
||||||
jobs:
|
jobs:
|
||||||
Luacheck:
|
Luacheck:
|
||||||
runs-on: ubuntu-full-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- name: Setup Luacheck
|
||||||
|
run: |
|
||||||
|
apt update && apt install lua-check -y
|
||||||
|
|
||||||
- name: Luacheck linter
|
- name: Luacheck linter
|
||||||
uses: lunarmodules/luacheck@v1
|
run: |
|
||||||
|
luacheck .
|
||||||
|
|
|
@ -2,14 +2,11 @@ name: StyLua
|
||||||
on: [push, pull_request]
|
on: [push, pull_request]
|
||||||
jobs:
|
jobs:
|
||||||
StyLuacheck:
|
StyLuacheck:
|
||||||
runs-on: ubuntu-full-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: StyLua check
|
- name: StyLua check
|
||||||
uses: JohnnyMorganz/stylua-action@v3
|
run: |
|
||||||
with:
|
npx @johnnymorganz/stylua-bin .
|
||||||
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 .
|
|
||||||
|
|
Loading…
Reference in a new issue