Skip to content
This repository was archived by the owner on Aug 20, 2024. It is now read-only.

Commit 835a6d5

Browse files
committed
Merge branch 'main' of https://github.com/RyanLua/Shime
2 parents fd74795 + 1c4c736 commit 835a6d5

File tree

3 files changed

+38
-37
lines changed

3 files changed

+38
-37
lines changed

.github/workflows/CI.yml

Lines changed: 0 additions & 36 deletions
This file was deleted.

.github/workflows/lint.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: Lint
2+
3+
on:
4+
# Trigger the workflow on push or pull request,
5+
# but only for the main branch
6+
push:
7+
branches:
8+
- main
9+
# Replace pull_request with pull_request_target if you
10+
# plan to use this action with forks, see the Limitations section
11+
pull_request:
12+
branches:
13+
- main
14+
15+
# Down scope as necessary via https://docs.github.com/en/actions/security-guides/automatic-token-authentication#modifying-the-permissions-for-the-github_token
16+
permissions:
17+
checks: write
18+
contents: write
19+
20+
jobs:
21+
run-linters:
22+
name: Run linters
23+
runs-on: ubuntu-latest
24+
25+
steps:
26+
- name: Check out Git repository
27+
uses: actions/checkout@v2
28+
29+
# Install your linters here
30+
31+
- name: Run linters
32+
uses: JohnnyMorganz/stylua-action@v3
33+
with:
34+
token: ${{ secrets.GITHUB_TOKEN }}
35+
version: latest # NOTE: we recommend pinning to a specific version in case of formatting changes
36+
# CLI arguments
37+
args: --check .

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
[![GitHub release](https://img.shields.io/github/v/release/RyanLua/Shime?logo=roblox)](https://github.com/RyanLua/Shime/releases)
99
[![GitHub top language](https://img.shields.io/github/languages/top/RyanLua/Shime?logo=lua)](https://github.com/search?q=repo%3ARyanLua%2FShime++language%3ALua&type=code)
1010
[![GitHub license](https://img.shields.io/github/license/RyanLua/Shime?logo=apache)](LICENSE.txt)
11-
[![CI](https://github.com/RyanLua/Shime/actions/workflows/CI.yml/badge.svg)](https://github.com/RyanLua/Shime/actions/workflows/CI.yml)
11+
[![Lint](https://github.com/RyanLua/Shime/actions/workflows/lint.yml/badge.svg)](https://github.com/RyanLua/Shime/actions/workflows/CI.yml)
1212
</h1>
1313

1414
<div align="center">

0 commit comments

Comments
 (0)