Skip to content

docs: add README and MIT license for runcode-cli #2

docs: add README and MIT license for runcode-cli

docs: add README and MIT license for runcode-cli #2

Workflow file for this run

name: CI
on:
pull_request: {}
push:
branches: [main, master]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: Build
run: go build ./...
- name: Vet
run: go vet ./...
- name: gofmt
run: |
test -z "$(gofmt -l .)" || { gofmt -l .; echo 'gofmt: files need formatting'; exit 1; }
- name: Test
run: go test ./... -race
# Advisory lint job — non-blocking. The 20-task codebase predates golangci-lint
# and was gated on gofmt/vet/test-race; lint runs as advice so it surfaces
# suggestions without blocking merges on pre-existing findings.
lint:
runs-on: ubuntu-latest
continue-on-error: true
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: go.mod
- uses: golangci/golangci-lint-action@v6
with:
args: --timeout=5m