Skip to content

Merge pull request #4 from semihbkgr/colored-output #19

Merge pull request #4 from semihbkgr/colored-output

Merge pull request #4 from semihbkgr/colored-output #19

Workflow file for this run

name: Go CI
on:
push:
branches:
- "**"
pull_request:
branches:
- "master"
- "v*"
workflow_dispatch:
jobs:
ci:
name: CI
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup
uses: actions/setup-go@v5
with:
go-version: "1.21"
- name: Build
run: go build .
- name: Fmt
run: test -z $(gofmt -l .)
- name: Vet
run: go vet ./...
- name: Lint
uses: golangci/golangci-lint-action@v3
with:
version: v1.54
- name: Test
run: go test -v -race ./...