A GitHub Action for running gokart.
To use the GitHub Action, add the following to your job:
- uses: conventional-actions/go-kart@v1
Name | Default | Description |
---|---|---|
version |
latest |
the version of gokart to install |
output_path |
gokart.sarif |
the output path to write the SARIF file |
package |
./... |
the package to scan |
Name | Type | Description |
---|---|---|
output_path |
string |
output file path |
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- id: gokart
uses: conventional-actions/go-kart@v1
- uses: github/codeql-action/upload-sarif@v2
with:
sarif_file: ${{steps.gokart.outputs.output_path}}
The scripts and documentation in this project are released under the MIT License.