Skip to content

Merge pull request #72 from 4teapo/main #28

Merge pull request #72 from 4teapo/main

Merge pull request #72 from 4teapo/main #28

Workflow file for this run

name: "Formatter and Linter"
on:
workflow_dispatch:
push:
branches:
- main
pull_request:
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: AlejandroSuero/[email protected]
with:
version: 0.27.1
token: ${{ secrets.GITHUB_TOKEN }}
args: --quiet .
format:
name: Format
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: JohnnyMorganz/stylua-action@v4
with:
version: 0.20.0
token: ${{ secrets.GITHUB_TOKEN }}
args: --check -f stylua.toml .