init: use tree-sitter modes #24
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: CI | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
check: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: DeterminateSystems/nix-installer-action@v4 | |
with: | |
diagnostic-endpoint: '' | |
- uses: cachix/cachix-action@v12 | |
with: | |
name: terlar | |
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}' | |
extraPullNames: nix-community | |
- name: Enable incremental cache upload | |
run: cachix watch-store terlar & | |
- name: Check | |
run: nix flake check | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: DeterminateSystems/nix-installer-action@v4 | |
with: | |
diagnostic-endpoint: '' | |
- uses: cachix/cachix-action@v12 | |
with: | |
name: terlar | |
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}' | |
extraPullNames: nix-community | |
- name: Enable incremental cache upload | |
run: cachix watch-store terlar & | |
- name: Check | |
run: nix flake check ./dev | |
build: | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: DeterminateSystems/nix-installer-action@v4 | |
with: | |
diagnostic-endpoint: '' | |
- uses: cachix/cachix-action@v12 | |
with: | |
name: terlar | |
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}' | |
extraPullNames: nix-community | |
- name: Enable incremental cache upload | |
run: cachix watch-store terlar & | |
- name: Build default package | |
run: nix build --print-build-logs |