diff options
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/selene.yml | 20 | ||||
| -rw-r--r-- | .github/workflows/stylua.yml | 1 |
2 files changed, 21 insertions, 0 deletions
diff --git a/.github/workflows/selene.yml b/.github/workflows/selene.yml new file mode 100644 index 00000000..cd174d03 --- /dev/null +++ b/.github/workflows/selene.yml @@ -0,0 +1,20 @@ +name: Selene check + +on: + push: + branches: + - "main" + pull_request: + +jobs: + stylua: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Run Selene check + uses: NTBBloodbath/selene-action@v1.0.0 + with: + # token is needed because the action allegedly downloads binary from github releases + token: ${{ secrets.GITHUB_TOKEN }} + args: lua/ tests/ scripts/ + version: 0.20.0 diff --git a/.github/workflows/stylua.yml b/.github/workflows/stylua.yml index e28130be..e6a2af39 100644 --- a/.github/workflows/stylua.yml +++ b/.github/workflows/stylua.yml @@ -18,3 +18,4 @@ jobs: token: ${{ secrets.GITHUB_TOKEN }} # CLI arguments args: --check . + version: 0.14.2 |
