Bump version to 2.9.0 (spec v152) #14
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 bridge | |
on: | |
push: | |
paths: | |
- bridge/tfchain_bridge/** | |
workflow_dispatch: | |
jobs: | |
lint: | |
name: lint | |
runs-on: ubuntu-latest | |
timeout-minutes: 5 | |
steps: | |
- name: Check out code into the Go module directory | |
uses: actions/checkout@v4 | |
with: | |
submodules: "true" | |
sparse-checkout: | | |
clients/tfchain-client-go | |
bridge/tfchain_bridge | |
- name: Set up Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: "1.20" | |
cache: false | |
# cache-dependency-path: bridge/tfchain_bridge/go.sum | |
id: go | |
- name: golangci-lint | |
uses: golangci/[email protected] | |
with: | |
args: --timeout 3m --verbose | |
working-directory: bridge/tfchain_bridge | |
- name: staticcheck | |
uses: dominikh/[email protected] | |
with: | |
version: "2022.1.3" | |
working-directory: bridge/tfchain_bridge | |
env: | |
GO111MODULE: on | |
- name: gofmt | |
uses: Jerome1337/[email protected] | |
with: | |
gofmt-path: './bridge/tfchain_bridge' | |
gofmt-flags: "-l -d" |