summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorWilliam Boman <william@redwill.se>2021-09-29 14:52:37 +0200
committerWilliam Boman <william@redwill.se>2021-09-29 14:52:40 +0200
commit89b5a04fb5bce23cdd77e5b9f2e175f60404e429 (patch)
tree216e8a541d665cdffb420d095da298184b8b0127 /.github
parentplatform: add aarch64 alias (diff)
downloadmason-89b5a04fb5bce23cdd77e5b9f2e175f60404e429.tar
mason-89b5a04fb5bce23cdd77e5b9f2e175f60404e429.tar.gz
mason-89b5a04fb5bce23cdd77e5b9f2e175f60404e429.tar.bz2
mason-89b5a04fb5bce23cdd77e5b9f2e175f60404e429.tar.lz
mason-89b5a04fb5bce23cdd77e5b9f2e175f60404e429.tar.xz
mason-89b5a04fb5bce23cdd77e5b9f2e175f60404e429.tar.zst
mason-89b5a04fb5bce23cdd77e5b9f2e175f60404e429.zip
ci: don't run stylua on all branches
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/stylua.yml (renamed from .github/workflows/ci.yml)12
1 files changed, 5 insertions, 7 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/stylua.yml
index 04ca8e81..b4498d93 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/stylua.yml
@@ -1,21 +1,19 @@
-name: Format Checker
+name: Stylua check
on:
push:
branches:
- - '*'
+ - 'main'
pull_request:
- branches:
- - '*'
jobs:
- fmt:
+ stylua:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- - name: Setup FMT
+ - name: Run Stylua check
uses: JohnnyMorganz/stylua-action@1.0.0
with:
token: ${{ secrets.GITHUB_TOKEN }}
# CLI arguments
- args: ./lua/ --check
+ args: --check .