Skip to content

minor changes

minor changes #19

Workflow file for this run

name: Code Checks
on:
push:
branches:
- main
pull_request:
branches:
- main
concurrency:
group: style-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
ui:
name: "UI"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/dangerous-git-checkout
- uses: ./.github/actions/pnpm-install
- name: Types Check
run: pnpm typecheck
env:
NODE_OPTIONS: --max-old-space-size=4096
- name: Prettier check
run: pnpm prettier --check .
- name: Lint
run: pnpm lint
api:
name: "API"
runs-on: ubuntu-latest
defaults:
run:
working-directory: .
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/dangerous-git-checkout
- uses: ./.github/actions/go-setup
with:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
- name: Check go.mod/go.sum to be consistent
run: find . -name go.sum -exec make --always-make {} \; && git diff --exit-code
- name: Go lint
run: make lint