Skip to content

chore: Converting message and proposal fields to generics #32

chore: Converting message and proposal fields to generics

chore: Converting message and proposal fields to generics #32

Workflow file for this run

on: [pull_request]
name: Linter check
env:
GO111MODULE: on
jobs:
linter-check:
runs-on: ubuntu-latest
steps:
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: 1.19
- uses: actions/checkout@v2
- name: Install linter
run: curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin
- name: Run linter
run: golangci-lint run --timeout=10m
vet-check:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v2
with:
go-version: "1.19.x"
- uses: actions/checkout@v2
- name: Run go vet
run: go vet ./...