Skip to content

Redesign inspector dashboard with developer-tool aesthetic #61

Redesign inspector dashboard with developer-tool aesthetic

Redesign inspector dashboard with developer-tool aesthetic #61

Workflow file for this run

# This workflow will build a golang project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go
name: Portr server
on:
push:
branches: ["main"]
paths:
- "cmd/**"
- "internal/**"
- "migrations/**"
- "tests/**"
- "go.mod"
- "go.sum"
- "Dockerfile"
- ".github/workflows/portr-server.yml"
pull_request:
branches: ["main"]
paths:
- "cmd/**"
- "internal/**"
- "migrations/**"
- "tests/**"
- "go.mod"
- "go.sum"
- "Dockerfile"
- ".github/workflows/portr-server.yml"
permissions:
contents: read
jobs:
build:
name: Run server tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup client
uses: pnpm/action-setup@v4
with:
version: 10.13.1
run_install: false
- name: Install client dependencies
run: pnpm --dir internal/client/dashboard/ui install
- name: Build client
run: pnpm --dir internal/client/dashboard/ui build
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: "1.25"
cache: true
- name: Build server
run: go build -v ./...
- name: Test server
run: go test -v ./...