X Tutup
Skip to content

Commit 715fde1

Browse files
authored
Update GitHub Actions workflow for linting
1 parent 8ee210c commit 715fde1

File tree

1 file changed

+30
-5
lines changed

1 file changed

+30
-5
lines changed

.github/workflows/main.yml

Lines changed: 30 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,34 @@
1-
name: Luacheck
2-
on: [push, pull_request]
1+
---
2+
name: Lint
3+
4+
on: # yamllint disable-line rule:truthy
5+
push: null
6+
pull_request: null
7+
8+
permissions: {}
39

410
jobs:
5-
luacheck:
11+
build:
12+
name: Lint
613
runs-on: ubuntu-latest
14+
15+
permissions:
16+
contents: read
17+
packages: read
18+
# To report GitHub Actions status checks
19+
statuses: write
20+
721
steps:
8-
- name: Checkout
9-
uses: actions/checkout@v4
22+
- name: Checkout code
23+
uses: actions/checkout@v5
24+
with:
25+
# super-linter needs the full git history to get the
26+
# list of files that changed across commits
27+
fetch-depth: 0
28+
persist-credentials: false
29+
30+
- name: Super-linter
31+
uses: super-linter/super-linter@v8.3.2 # x-release-please-version
32+
env:
33+
# To report GitHub Actions status checks
34+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)
X Tutup