Skip to content
This repository has been archived by the owner on Apr 2, 2024. It is now read-only.

Update github actions #5421

Update github actions

Update github actions #5421

Workflow file for this run

name: Run Gosec
defaults:
run:
shell: bash --noprofile --norc -eo pipefail {0}
on:
push:
branches: [master, main, force_test, release-*]
pull_request:
branches: [master, main, force_test, release-*]
jobs:
tests:
runs-on: ubuntu-latest
env:
GO111MODULE: on
steps:
- name: Checkout Source
uses: actions/checkout@v3
- name: Run Gosec Security Scanner
uses: securego/gosec@v2.19.0
with:
args: -exclude-dir=pkg/promql -exclude-dir=pkg/prompb -exclude-dir=migration-tool ./...