Skip to content

Commit

Permalink
Merge pull request #275 from hypersign-protocol/devops/lint-workflow
Browse files Browse the repository at this point in the history
Add Lint Workflow
  • Loading branch information
arnabghose997 committed Sep 1, 2022
2 parents 947d3cb + f28ceb6 commit 84d8392
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Lint

on:
pull_request:
push:
branches: [ master ]

permission:
contents: read

jobs:
golangci:
name: Golang Lint
runs-on: ubuntu-latest
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v2
with:
fetch-depth: 0

- name: Perform Lint Operation
uses: golangci/golangci-lint-action@v2
with:
args: --timeout 10m
github-token: ${{ secrets.GITHUB_TOKEN }}
version: latest

0 comments on commit 84d8392

Please sign in to comment.