diff options
| author | William Boman <william@redwill.se> | 2022-08-15 21:03:06 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-08-15 21:03:06 +0200 |
| commit | 3c62386a396ae0c1cd7adbaacc379eb4af072a65 (patch) | |
| tree | 4d00d20958839a04e6a996c11b97724c762e491a /.github | |
| parent | chore: update generated code (#295) (diff) | |
| download | mason-3c62386a396ae0c1cd7adbaacc379eb4af072a65.tar mason-3c62386a396ae0c1cd7adbaacc379eb4af072a65.tar.gz mason-3c62386a396ae0c1cd7adbaacc379eb4af072a65.tar.bz2 mason-3c62386a396ae0c1cd7adbaacc379eb4af072a65.tar.lz mason-3c62386a396ae0c1cd7adbaacc379eb4af072a65.tar.xz mason-3c62386a396ae0c1cd7adbaacc379eb4af072a65.tar.zst mason-3c62386a396ae0c1cd7adbaacc379eb4af072a65.zip | |
refactor: introduce selene, harden type defs, and use proper EmmyLua syntax (#296)
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 |
