Skip to content

build(deps): bump google-github-actions/release-please-action from 3 to 4 #5

build(deps): bump google-github-actions/release-please-action from 3 to 4

build(deps): bump google-github-actions/release-please-action from 3 to 4 #5

Workflow file for this run

name: "CodeQL"
on:
push:
branches: [ main ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ main ]
schedule:
- cron: '11 0 * * 5'
workflow_dispatch:
jobs:
analyze:
permissions:
security-events: write
actions: read
contents: read
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
language: [ 'go' ]
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Go
id: setup_go
uses: actions/setup-go@v5
with:
go-version: '^1.21.5'
- name: Install Go dependencies
id: install_go_deps
run: |
go install github.com/matryer/moq@latest
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.
# queries: ./path/to/local/query, your-org/your-repo/queries@main
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
# - name: Autobuild
# uses: github/codeql-action/autobuild@v3
- name: Build agent
run: |
go generate ./...
go build
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3