feat: sqlc, nix formatting
This commit is contained in:
12
.github/workflows/lint.yaml
vendored
12
.github/workflows/lint.yaml
vendored
@ -9,7 +9,7 @@ on:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
release:
|
||||
lint:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
@ -20,9 +20,11 @@ jobs:
|
||||
with:
|
||||
nix_path: nixpkgs=channel:nixos-unstable
|
||||
|
||||
- name: Install NPM Packages
|
||||
working-directory: ./client
|
||||
run: npm ci --legacy-peer-deps
|
||||
- name: Use Cachix
|
||||
uses: cachix/cachix-action@v16
|
||||
with:
|
||||
name: treli
|
||||
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
|
||||
|
||||
- name: Lint
|
||||
run: nix develop --command ts-lint
|
||||
run: nix develop --command trevstack-lint
|
8
.github/workflows/release.yaml
vendored
8
.github/workflows/release.yaml
vendored
@ -19,9 +19,15 @@ jobs:
|
||||
uses: cachix/install-nix-action@v31
|
||||
with:
|
||||
nix_path: nixpkgs=channel:nixos-unstable
|
||||
|
||||
- name: Use Cachix
|
||||
uses: cachix/cachix-action@v16
|
||||
with:
|
||||
name: treli
|
||||
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
|
||||
|
||||
- name: Build
|
||||
run: nix develop --command ts-build
|
||||
run: nix develop --command trevstack-build
|
||||
|
||||
- name: Create Release
|
||||
uses: softprops/action-gh-release@v2
|
||||
|
Reference in New Issue
Block a user