feat: add support for the pesde package manager #101
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: | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
fmt: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Install tooling | |
uses: CompeyDev/[email protected] | |
with: | |
cache: true | |
- name: Check formatting | |
run: lune run fmt | |
lint: | |
runs-on: ubuntu-latest | |
needs: ["fmt"] | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Install tooling | |
uses: CompeyDev/[email protected] | |
with: | |
cache: true | |
- name: Lint | |
run: lune run lint | |
typecheck: | |
runs-on: ubuntu-latest | |
needs: ["lint"] | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Install tooling | |
uses: CompeyDev/[email protected] | |
with: | |
cache: true | |
- name: Setup lune typedefs | |
run: lune setup | |
- name: Install dependencies | |
run: pesde install | |
- name: Typecheck | |
run: lune run analyze | |
test: | |
runs-on: ubuntu-latest | |
needs: ["typecheck"] | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
with: | |
submodules: true | |
- name: Install tooling | |
uses: CompeyDev/[email protected] | |
with: | |
cache: true | |
- name: Install dependencies | |
run: pesde install | |
- name: Run unit-tests | |
run: lune run test |