Skip to content

Config profile with repo API integration #2983

Config profile with repo API integration

Config profile with repo API integration #2983

Workflow file for this run

name: "Static Analysis"
on:
push:
tags-ignore:
- '**'
pull_request:
jobs:
Static-Check:
runs-on: ubuntu-latest
steps:
- name: Checkout Source
uses: actions/checkout@v4
- name: Setup Go with cache
uses: jfrog/.github/actions/install-go-with-cache@main
# Generate mocks
- name: Generate mocks
run: go generate ./...
- name: Run golangci linter
uses: jfrog/.github/actions/golangci-lint@main
Go-Sec:
runs-on: ubuntu-latest
env:
GOFLAGS: -buildvcs=false
steps:
- name: Checkout Source
uses: actions/checkout@v4
- name: Setup Go with cache
uses: jfrog/.github/actions/install-go-with-cache@main
# Generate mocks
- name: Generate mocks
run: go generate ./...
- name: Run Go-Sec scanner
uses: jfrog/.github/actions/gosec-scanner@main
ShellCheck:
name: Shellcheck
runs-on: ubuntu-latest
steps:
- name: Checkout Source
uses: actions/checkout@v4
- name: Run ShellCheck
uses: ludeeus/action-shellcheck@master
with:
ignore_paths:
.husky
*test*