Skip to content

fix(worker): remove worker-node folder #99

fix(worker): remove worker-node folder

fix(worker): remove worker-node folder #99

Workflow file for this run

name: Worker CI
on:
push:
branches:
- '**'
paths:
- 'worker/**'
pull_request:
branches:
- '**'
paths:
- 'worker/**'
workflow_dispatch:
permissions:
contents: read
jobs:
fmt:
name: Check formatting
runs-on: ubuntu-latest
defaults:
run:
working-directory: worker
steps:
- uses: actions/checkout@v7
- uses: actions/setup-go@v7
with:
go-version: '1.26'
cache: true
- name: Check go fmt
run: |
unformatted=$(go fmt ./...)
if [ -n "$unformatted" ]; then
echo "Unformatted files:"
echo "$unformatted"
exit 1
fi
vet:
name: Run go vet
runs-on: ubuntu-latest
defaults:
run:
working-directory: worker
steps:
- uses: actions/checkout@v7
- uses: actions/setup-go@v7
with:
go-version: '1.26'
cache: true
- run: go vet ./...
build:
name: Build binaries
runs-on: ubuntu-latest
strategy:
matrix:
target: [cli, app]
defaults:
run:
working-directory: worker
steps:
- uses: actions/checkout@v7
- uses: actions/setup-go@v7
with:
go-version: '1.26'
cache: true
- name: Build ${{ matrix.target }}
run: go build -o /dev/null ./cmd/${{ matrix.target }}