Skip to content

Update lint.yml

Update lint.yml #16

Workflow file for this run

name: lint
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
golangci:
name: Linter
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v3
with:
go-version: '1.21' # The Go version to download (if necessary) and use.
- run: go version
- name: Checkout EigenDA
uses: actions/checkout@v3
- name: golangci-lint
uses: golangci/golangci-lint-action@v6
with:
version: v1.60
args: --timeout 3m
go-sec:
runs-on: ubuntu-latest
env:
GO111MODULE: on
steps:
- name: Checkout Source
uses: actions/checkout@v3
- name: Run Gosec Security Scanner
uses: securego/gosec@master
with:
args: ./...