Test #602
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
on: | |
push: {} | |
pull_request: {} | |
workflow_dispatch: {} | |
name: Test | |
jobs: | |
alejandra: | |
runs-on: namespace-profile-ghostty-sm | |
timeout-minutes: 60 | |
steps: | |
- uses: actions/checkout@v4 # Check out repo so we can lint it | |
- name: Setup Cache | |
uses: namespacelabs/[email protected] | |
with: | |
path: | | |
/nix | |
- uses: cachix/install-nix-action@v30 | |
with: | |
nix_path: nixpkgs=channel:nixos-unstable | |
- name: alejandra check | |
run: nix develop -c alejandra --check . | |
prettier: | |
runs-on: namespace-profile-ghostty-sm | |
timeout-minutes: 60 | |
steps: | |
- uses: actions/checkout@v4 # Check out repo so we can lint it | |
- name: Setup Cache | |
uses: namespacelabs/[email protected] | |
with: | |
path: | | |
/nix | |
- uses: cachix/install-nix-action@v30 | |
with: | |
nix_path: nixpkgs=channel:nixos-unstable | |
- name: npm install | |
run: nix develop -c npm install | |
- name: prettier check | |
run: nix develop -c npm exec -- prettier --check 'src/**/*.ts' |