Skip to content

ci: change action name and add gosec #1

ci: change action name and add gosec

ci: change action name and add gosec #1

Workflow file for this run

name: CI
on:
push:
branches:
- main
paths:
- '**/*'
- '!README.md'
- '!docs/**'
pull_request:
paths:
- '**/*'
- '!README.md'
- '!docs/**'
permissions:
contents: read
jobs:
golangci:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version: '1.21'
cache: false
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: v1.54
- name: Run Gosec Security Scanner
uses: securego/gosec@master
with:
args: ./...