ci: update CI workflow to use devbox for shell execution and replace … #6
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 | |
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 ./... |