Skip to content

ci: update CI workflow to use devbox for shell execution and replace … #9

ci: update CI workflow to use devbox for shell execution and replace …

ci: update CI workflow to use devbox for shell execution and replace … #9

Workflow file for this run

name: CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
permissions:
id-token: write
contents: read
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: jetify-com/[email protected]
- run: devbox run -- biome ci
- run: devbox run -- bash -c 'cd pkg/emitters/websocket/static && bun install'
- run: devbox run -- bash -c 'cd pkg/emitters/websocket/static && bun run build'
- run: devbox run -- bash -c 'test -z "$(gofmt -l . | tee /dev/stderr)"'
- run: devbox run -- go vet ./...
- run: devbox run -- go test -v ./...