Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v3...v4) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
40 lines
709 B
YAML
40 lines
709 B
YAML
|
|
name: "CodeQL Analysis"
|
|
|
|
on:
|
|
push:
|
|
branches: [ "master" ]
|
|
pull_request:
|
|
branches: [ "master" ]
|
|
schedule:
|
|
- cron: '* 6 * * *'
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
analyze:
|
|
name: CodeQL Analysis
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
permissions:
|
|
actions: read
|
|
contents: read
|
|
security-events: write
|
|
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- uses: github/codeql-action/init@v2
|
|
with:
|
|
languages: go
|
|
|
|
- uses: github/codeql-action/autobuild@v2
|
|
|
|
# - run: |
|
|
# echo "Run, Build Application using script"
|
|
# ./location_of_script_within_repo/buildscript.sh
|
|
|
|
- uses: github/codeql-action/analyze@v2
|
|
with:
|
|
category: "/language:go"
|