mirror of
https://github.com/projectdiscovery/nuclei.git
synced 2025-12-29 10:13:00 +00:00
26 lines
538 B
YAML
26 lines
538 B
YAML
name: 🙏🏻 Lint Test
|
|
|
|
on:
|
|
pull_request:
|
|
paths:
|
|
- '**.go'
|
|
- '**.mod'
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
lint:
|
|
name: Lint Test
|
|
runs-on: ubuntu-latest-16-cores
|
|
steps:
|
|
- name: Set up Go
|
|
uses: actions/setup-go@v3
|
|
with:
|
|
go-version: 1.19
|
|
- name: Checkout code
|
|
uses: actions/checkout@v3
|
|
- name: Run golangci-lint
|
|
uses: golangci/golangci-lint-action@v3.4.0
|
|
with:
|
|
version: latest
|
|
args: --timeout 5m
|
|
working-directory: v2/ |