Skip to content

Color configuration in gossiped.yml (#201) #49

Color configuration in gossiped.yml (#201)

Color configuration in gossiped.yml (#201) #49

Workflow file for this run

# This workflow will build a golang project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go
name: linux
on:
push:
branches: [ "master" ]
tags:
- '*'
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: [ ubuntu-latest ]
steps:
- name: Checkout
with:
fetch-depth: 0
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '>=1.21.0'
- name: Build
run: go build
- name: Run
run: ./gossiped
- name: Test
run: go test -v ./... -cover -coverprofile=coverage.txt --bench=. -benchmem
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v6
if: startsWith(github.ref, 'refs/tags/')
with:
version: latest
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}