Conceptual control flow and complexity refactor #47
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |