Skip to content

Integrate GoKart security static analysis to GitHub Actions

License

Notifications You must be signed in to change notification settings

phogolabs/ci-gokart

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gokart-action

Scan your Golang code for vulnerabilities with GoKart.

Usage

The workflow, usually declared in .github/workflows/gokart.yaml under your Go project repository, looks like:

name: gokart

on:
  push:
    branches: [ main ]
  pull_request:
    branches: [ main ]
  schedule:
    - cron: 0 0 * * *

jobs:
  gokart:
    name: gokart scanner
    runs-on: ubuntu-latest

    permissions:
      contents: read
      security-events: write

    steps:
    - name: Checkout
      uses: actions/checkout@v2

    - name: Run GoKart
      uses: phogolabs/gokart-action@v2.0.0

References

About

Integrate GoKart security static analysis to GitHub Actions

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Dockerfile 51.8%
  • Shell 48.2%