Skip to content

Add .github

Add .github #22

Workflow file for this run

name: CI
on:
push:
branches:
- main
- dev
pull_request:
branches:
- main
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Install Aftman
uses: ok-nick/[email protected]
with:
token: ${{ github.token }}
- name: Analyze
run: sh scripts/analyse.sh
style:
name: Styling
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Check code style
uses: JohnnyMorganz/stylua-action@v4
with:
token: ${{ github.token }}
version: latest
args: --check src