nuclei/.github/workflows/lint-test.yml
Sandeep Singh ff9596f618
workflow updates (#2883)
* workflow updates

* added go mod download in build test
2022-11-23 17:13:52 +05:30

23 lines
485 B
YAML

name: 🙏🏻 Lint Test
on:
pull_request:
workflow_dispatch:
jobs:
lint:
name: Lint Test
runs-on: ubuntu-latest
steps:
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.18
- name: Checkout code
uses: actions/checkout@v3
- name: Run golangci-lint
uses: golangci/golangci-lint-action@v3.3.1
with:
version: latest
args: --timeout 5m
working-directory: v2/