Skip to content

refactor: p2p Message logs have log level TRACE #57

refactor: p2p Message logs have log level TRACE

refactor: p2p Message logs have log level TRACE #57

name: Static Analysis and Report
on:
push:
branches:
- main
pull_request:
types: [opened, synchronize, reopened]
workflow_dispatch: {}
jobs:
staticcheck:
name: Static check
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v4
with:
go-version-file: "./go.mod"
- name: staticcheck
uses: dominikh/[email protected]
with:
version: "2023.1.6"
install-go: false
lint:
name: Golangci-lint
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v4
with:
go-version-file: "./go.mod"
cache: false
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: v1.54