Skip to content

Commit

Permalink
ci(default): reverting to selene action
Browse files Browse the repository at this point in the history
  • Loading branch information
AlejandroSuero committed May 9, 2024
1 parent 5d27c90 commit aa8a17f
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 6 deletions.
20 changes: 14 additions & 6 deletions .github/workflows/default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,16 +58,24 @@ jobs:
steps:
- uses: actions/checkout@v3

- name: Prepare luacheck
- name: Prepare
run: |
sudo apt-get update
sudo apt-get install -y luarocks
sudo luarocks install luacheck
- name: Prepare selene
uses: baptiste0928/cargo-install@v3
with:
crate: selene

- name: Lint
run: sudo make lint

selene:
name: Selene
runs-on: ubuntu-22.04
steps:
- name: Checkout sources
uses: actions/checkout@v2

- name: Run selene
uses: NTBBloodbath/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: --display-style quiet lua/plenary --allow-warnings
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,6 @@ generate_luassert_types:

lint:
luacheck lua/plenary

lint-selene:
selene --display-style quiet lua/plenary --allow-warnings

0 comments on commit aa8a17f

Please sign in to comment.