Skip to content

Enable nats server (#193) #344

Enable nats server (#193)

Enable nats server (#193) #344

Workflow file for this run

name: Format
on:
pull_request:
push:
branches:
- main
tags:
- v*
jobs:
fmt:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
- name: fmt
run: make fmt
lint:
runs-on: ubuntu-latest
env:
GOPRIVATE: ${{ inputs.go-private }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
cache: true
- name: Lint
uses: golangci/golangci-lint-action@v6
with:
version: latest
args: --timeout=3m
vet:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.21'
cache: true
- name: vet
run: make vet