ci: update CI workflow to use devbox for shell execution and replace … #9
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 ./... |