Skip to content
This repository has been archived by the owner on Jun 14, 2024. It is now read-only.

Commit

Permalink
workflow: add ci workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Eggflaw committed May 28, 2024
1 parent e5f3c4c commit dc8f26a
Show file tree
Hide file tree
Showing 2 changed files with 49 additions and 0 deletions.
48 changes: 48 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
name: CI

on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
test:
name: Unit Tests
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Install Aftman
uses: ok-nick/setup-aftman@v0.4.2
- name: Run Tests
run: lune run test tests/

lint:
name: Linting
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Install Aftman
uses: ok-nick/setup-aftman@v0.4.2

- name: Lint
run: selene lib/

style:
name: Styling
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Install Aftman
uses: ok-nick/setup-aftman@v0.4.2

- name: Check code style
run: stylua --check lib/
1 change: 1 addition & 0 deletions selene.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
std = "luau"

0 comments on commit dc8f26a

Please sign in to comment.