+23
.github/workflows/ci.yml
+23
.github/workflows/ci.yml
···
1
+
name: Format and lint
2
+
on: [push, pull_request]
3
+
4
+
jobs:
5
+
format:
6
+
name: stylua
7
+
runs-on: ubuntu-latest
8
+
steps:
9
+
- uses: actions/checkout@v2
10
+
- uses: JohnnyMorganz/stylua-action@1.0.0
11
+
with:
12
+
token: ${{ secrets.GITHUB_TOKEN }}
13
+
args: --check .
14
+
15
+
lint:
16
+
name: selene
17
+
runs-on: ubuntu-latest
18
+
steps:
19
+
- uses: actions/checkout@v2
20
+
- uses: NTBBloodbath/selene-action@v1.0.0
21
+
with:
22
+
token: ${{ secrets.GITHUB_TOKEN }}
23
+
args: --display-style=quiet .