Skip to content

Commit

Permalink
update lint workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
dogancanbakir committed Nov 12, 2024
1 parent 80c7ddb commit 7bfd134
Showing 1 changed file with 7 additions and 13 deletions.
20 changes: 7 additions & 13 deletions .github/workflows/lint-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,21 +8,15 @@ on:
workflow_dispatch:

jobs:
lint:
name: Lint Test
lint-test:
if: "! endsWith(github.actor, '[bot]')"
runs-on: ubuntu-latest
steps:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.21.x

- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up Go
uses: projectdiscovery/actions/setup/go@v1

- name: Run golangci-lint
uses: golangci/[email protected]
with:
version: latest
args: --timeout 5m
working-directory: .
uses: projectdiscovery/actions/golangci-lint@v1

0 comments on commit 7bfd134

Please sign in to comment.