chore: bump to version 2.5.0-rc7 (specVersion: 145) (#823) #56
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Lint Go client | |
on: | |
push: | |
paths: | |
- clients/tfchain-client-go/** | |
workflow_dispatch: | |
defaults: | |
run: | |
working-directory: clients/tfchain-client-go | |
jobs: | |
lint: | |
name: lint | |
runs-on: ubuntu-latest | |
timeout-minutes: 5 | |
steps: | |
- name: Set up Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: "1.20" | |
id: go | |
- name: Check out code into the Go module directory | |
uses: actions/checkout@v3.5.0 | |
with: | |
submodules: "true" | |
- name: golangci-lint | |
uses: golangci/golangci-lint-action@v3 | |
with: | |
args: --timeout 3m --verbose | |
working-directory: clients/tfchain-client-go | |
- name: staticcheck | |
uses: dominikh/staticcheck-action@v1.3.0 | |
with: | |
version: "2022.1.3" | |
working-directory: clients/tfchain-client-go | |
env: | |
GO111MODULE: on | |
- name: gofmt | |
uses: Jerome1337/gofmt-action@v1.0.5 | |
with: | |
gofmt-flags: "-l -d" |