This repository has been archived by the owner on Jun 14, 2024. It is now read-only.
fix: styling #5
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 | |
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/[email protected] | |
- 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/[email protected] | |
- 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/[email protected] | |
- name: Check code style | |
run: stylua --check lib/ |