Skip to content

Conceptual control flow and complexity refactor #48

Conceptual control flow and complexity refactor

Conceptual control flow and complexity refactor #48

Workflow file for this run

name: CI
on:
push:
branches:
- main
paths-ignore:
- docs/**
pull_request:
branches:
- main
paths-ignore:
- docs/**
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, 'skip ci')"
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Setup Aftman
uses: ok-nick/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}
version: v0.2.7
- name: Lint
run: selene src
style:
name: Styling
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, 'skip ci')"
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Setup Aftman
uses: ok-nick/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}
version: v0.2.7
- name: Check code style
run: stylua --check src
build:
name: Build
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, 'skip ci')"
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Setup Aftman
uses: ok-nick/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}
version: v0.2.7
- name: Install packages
run: wally install
- name: Build package
run: rojo build -o package.rbxl