ci: make treefmt faster #189
Workflow file for this run
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: Run Tests | |
on: push | |
jobs: | |
integrity: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: nixbuild/nix-quick-install-action@v28 | |
- name: Structural Integirty Test | |
run: cd test/integrity && ./bld.sh | |
format: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: jaxxstorm/[email protected] | |
with: | |
repo: numtide/treefmt | |
- uses: jaxxstorm/[email protected] | |
with: | |
repo: nixos/nixfmt | |
extension-matching: disable | |
rename-to: nixfmt | |
- uses: jaxxstorm/[email protected] | |
with: | |
repo: mvdan/shfmt | |
- uses: jaxxstorm/[email protected] | |
with: | |
repo: tamasfe/taplo | |
- uses: jaxxstorm/[email protected] | |
with: | |
repo: prettier/prettier | |
- run: treefmt --fail-on-change | |
std-config: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: nixbuild/nix-quick-install-action@v28 | |
- name: Std Library Config Test | |
run: cd test/std-import && ./import.sh > /dev/null | |
features: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: nixbuild/nix-quick-install-action@v28 | |
- name: Feature Parsing Test | |
run: cd test/features && ./resolve.sh > /dev/null | |
purity: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: nixbuild/nix-quick-install-action@v28 | |
- name: Purity Integrity Test | |
run: cd test/purity && ./purity.sh | |
pre-semantics: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: nixbuild/nix-quick-install-action@v28 | |
- name: Test `pre` Access & Private Semantics | |
run: cd test && ./pre.sh |