Skip to content

Code Scan

Code Scan #33

Workflow file for this run

name: Code Scan
on:
push:
branches:
- main
pull_request:
branches:
- main
schedule:
# random HH:MM to avoid a load spike on GitHub Actions at 00:00
- cron: '4 1 * * *'
permissions: {}
jobs:
Lint:
permissions:
contents: read
uses: bytemare/workflows/.github/workflows/golangci-lint.yml@b1646a1525a16e413436f5b74e308685a2f7d7d3
with:
config-path: ./.github/.golangci.yml
scope: ./...
Analyze:
permissions:
contents: read
uses: bytemare/workflows/.github/workflows/scan-go.yml@b1646a1525a16e413436f5b74e308685a2f7d7d3
with:
sonar-configuration: .github/sonar-project.properties
secrets:
github: ${{ secrets.GITHUB_TOKEN }}
sonar: ${{ secrets.SONAR_TOKEN }}
codecov: ${{ secrets.CODECOV_TOKEN }}
semgrep: ${{ secrets.SEMGREP_APP_TOKEN }}