Skip to content

fix(api): Stringify error before sending to peer #14

fix(api): Stringify error before sending to peer

fix(api): Stringify error before sending to peer #14

Workflow file for this run

name: Lint
on:
release:
types: [created]
push:
branches:
- main
paths:
- "**.go"
pull_request:
branches:
- main
paths:
- "**.go"
permissions:
contents: read
# Optional: allow read access to pull request. Use with `only-new-issues` option.
pull-requests: read
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
golangci:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
cache: false
go-version-file: "go.mod"
- name: Run golangci-lint
uses: golangci/golangci-lint-action@v4
with:
version: latest
args: --timeout 15m