Skip to content

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

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

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

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
defaults:
run:
shell: devbox run -- {0}
steps:
- uses: actions/checkout@v4
- uses: jetify-com/[email protected]
- run: biome ci
- run: cd pkg/emitters/websocket/static && bun install
- run: cd pkg/emitters/websocket/static && bun run build
- run: test -z "$(gofmt -l . | tee /dev/stderr)"
- run: go vet ./...
- run: go test -v ./...