mirror of
https://github.com/lunchcat/sif.git
synced 2026-06-27 00:43:59 -07:00
064484ff4d
Bumps [actions/checkout](https://github.com/actions/checkout) from 6 to 7. - [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/v6...v7) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '7' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
40 lines
810 B
YAML
40 lines
810 B
YAML
name: code quality
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
pull_request:
|
|
push:
|
|
branches:
|
|
- main
|
|
schedule:
|
|
- cron: "0 6 * * 1" # monday 06:00 UTC
|
|
|
|
permissions: {}
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
codeql:
|
|
runs-on: ubuntu-latest
|
|
permissions:
|
|
security-events: write
|
|
contents: read
|
|
steps:
|
|
- uses: actions/checkout@v7
|
|
- name: set up go
|
|
uses: actions/setup-go@v5
|
|
with:
|
|
go-version: "1.25"
|
|
- name: initialize codeql
|
|
uses: github/codeql-action/init@v4
|
|
with:
|
|
languages: go
|
|
- name: build
|
|
run: go build ./...
|
|
- name: perform codeql analysis
|
|
uses: github/codeql-action/analyze@v4
|
|
with:
|
|
category: "/language:go"
|