8000 Merge branch 'lmittmann:main' into main · lmittmann/tint@1b54ad9 · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

enabled built-in go error formatting instead of requriring tintErr wrapping, colorized debug level text to increase readability #87

enabled built-in go error formatting instead of requriring tintErr wrapping, colorized debug level text to increase readability

enabled built-in go error formatting instead of requriring tintErr wrapping, colorized debug level text to increase readability #87

Workflow file for this run

name: Go
on:
push:
branches:
- main
pull_request:
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: "1.21"
- name: go fmt
run: |
output=$(gofmt -s -d .)
echo "$output"
test -z "$output"
- name: go vet
run: go vet ./...
- name: install staticcheck
run: go install honnef.co/go/tools/cmd/staticcheck@latest
- name: staticcheck
run: staticcheck ./...
test:
name: Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: "1.21"
- name: go test
run: TZ="" go test ./... -tags=faketime
0