chore(setup-pesde): provide token argument as literal #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: | |
pull_request: | |
workflow_dispatch: | |
defaults: | |
run: | |
shell: bash | |
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: Install pesde | |
uses: ./.github/actions/setup-pesde | |
with: | |
pesde-token: ${{ secrets.PESDE_TOKEN }} | |
- name: Install dependencies | |
run: pesde install | |
- name: Check formatting | |
run: lune run fmt -- --check | |
typecheck: | |
needs: ["fmt"] | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Install tooling | |
uses: CompeyDev/[email protected] | |
with: | |
cache: true | |
- name: Install pesde | |
uses: ./.github/actions/setup-pesde | |
with: | |
pesde-token: ${{ secrets.PESDE_TOKEN }} | |
- name: Install dependencies | |
run: pesde install | |
- name: Typecheck | |
run: lune run typecheck | |
test: | |
needs: ["typecheck"] | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Install tooling | |
uses: CompeyDev/[email protected] | |
with: | |
cache: true | |
- name: Install pesde | |
uses: ./.github/actions/setup-pesde | |
with: | |
pesde-token: ${{ secrets.PESDE_TOKEN }} | |
- name: Install dependencies | |
run: pesde install | |
- name: Run tests | |
run: lune run tests |