Skip to content

Merge branch 'hyperledger:main' into main #8

Merge branch 'hyperledger:main' into main

Merge branch 'hyperledger:main' into main #8

Workflow file for this run

#
# Copyright IBM Corp. All Rights Reserved.
#
# SPDX-License-Identifier: Apache-2.0
#
name: Lint
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v6
- name: Setup Go
uses: actions/setup-go@v6
with:
go-version-file: go.mod
- name: Install lint utilities
run: |
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/HEAD/install.sh | sh -s -- -b $(go env GOPATH)/bin v2.11.4
golangci-lint --version
- name: Run lint
run: |
git fetch origin main:refs/remotes/origin/main
make lint